[INFO] fetching crate libzstd-rs-sys 0.0.0...
[INFO] testing libzstd-rs-sys-0.0.0 against master#1f7f8ea0721a3b1eb73e6c6d25cccb371434b320 for pr-154065-1
[INFO] extracting crate libzstd-rs-sys 0.0.0 into /workspace/builds/worker-3-tc1/source
[INFO] started tweaking crates.io crate libzstd-rs-sys 0.0.0
[INFO] finished tweaking crates.io crate libzstd-rs-sys 0.0.0
[INFO] tweaked toml for crates.io crate libzstd-rs-sys 0.0.0 written to /workspace/builds/worker-3-tc1/source/Cargo.toml
[INFO] validating manifest of crates.io crate libzstd-rs-sys 0.0.0 on toolchain 1f7f8ea0721a3b1eb73e6c6d25cccb371434b320
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1f7f8ea0721a3b1eb73e6c6d25cccb371434b320" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate crates.io crate libzstd-rs-sys 0.0.0 already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1f7f8ea0721a3b1eb73e6c6d25cccb371434b320" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded quickcheck v1.0.3
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+1f7f8ea0721a3b1eb73e6c6d25cccb371434b320" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 103b6de5b1e6759d695223aec837b075aca476e7217a2ea72daa718c424b8241
[INFO] running `Command { std: "docker" "start" "-a" "103b6de5b1e6759d695223aec837b075aca476e7217a2ea72daa718c424b8241", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "103b6de5b1e6759d695223aec837b075aca476e7217a2ea72daa718c424b8241", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "103b6de5b1e6759d695223aec837b075aca476e7217a2ea72daa718c424b8241", kill_on_drop: false }`
[INFO] [stdout] 103b6de5b1e6759d695223aec837b075aca476e7217a2ea72daa718c424b8241
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+1f7f8ea0721a3b1eb73e6c6d25cccb371434b320" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 3de074fd17f79c4a7e51542ea810c9d1da71fe1d42724ffdc2665679e51fc324
[INFO] running `Command { std: "docker" "start" "-a" "3de074fd17f79c4a7e51542ea810c9d1da71fe1d42724ffdc2665679e51fc324", kill_on_drop: false }`
[INFO] [stderr]    Compiling cc v1.2.30
[INFO] [stderr]    Compiling libc v0.2.174
[INFO] [stderr]    Compiling libzstd-rs-sys v0.0.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unreachable expression
[INFO] [stdout]     --> lib/compress/zstd_lazy.rs:2689:5
[INFO] [stdout]      |
[INFO] [stdout] 2688 |     unreachable!();
[INFO] [stdout]      |     -------------- any code following this expression is unreachable
[INFO] [stdout] 2689 |     0
[INFO] [stdout]      |     ^ unreachable expression
[INFO] [stdout]      |
[INFO] [stdout]      = note: `#[warn(unreachable_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `ws`
[INFO] [stdout]     --> lib/compress/zstd_compress.rs:1214:50
[INFO] [stdout]      |
[INFO] [stdout] 1214 | unsafe fn ZSTD_cwksp_assert_internal_consistency(ws: *mut ZSTD_cwksp) {}
[INFO] [stdout]      |                                                  ^^ help: if this is intentional, prefix it with an underscore: `_ws`
[INFO] [stdout]      |
[INFO] [stdout]      = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `err`
[INFO] [stdout]     --> lib/compress/zstd_compress.rs:1895:9
[INFO] [stdout]      |
[INFO] [stdout] 1895 |     let err = ZSTD_CCtx_reset(cctx, ZSTD_reset_parameters);
[INFO] [stdout]      |         ^^^ help: if this is intentional, prefix it with an underscore: `_err`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `cParams1`
[INFO] [stdout]     --> lib/compress/zstd_compress.rs:4030:5
[INFO] [stdout]      |
[INFO] [stdout] 4030 |     cParams1: ZSTD_compressionParameters,
[INFO] [stdout]      |     ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_cParams1`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `cParams2`
[INFO] [stdout]     --> lib/compress/zstd_compress.rs:4031:5
[INFO] [stdout]      |
[INFO] [stdout] 4031 |     cParams2: ZSTD_compressionParameters,
[INFO] [stdout]      |     ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_cParams2`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `seqStore`
[INFO] [stdout]     --> lib/compress/zstd_compress.rs:5462:5
[INFO] [stdout]      |
[INFO] [stdout] 5462 |     seqStore: *const SeqStore_t,
[INFO] [stdout]      |     ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_seqStore`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `cParams`
[INFO] [stdout]     --> lib/compress/zstd_compress.rs:5463:5
[INFO] [stdout]      |
[INFO] [stdout] 5463 |     cParams: *const ZSTD_compressionParameters,
[INFO] [stdout]      |     ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_cParams`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `defaultMax`
[INFO] [stdout]     --> lib/compress/zstd_compress.rs:6169:5
[INFO] [stdout]      |
[INFO] [stdout] 6169 |     defaultMax: u32,
[INFO] [stdout]      |     ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_defaultMax`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `endOp`
[INFO] [stdout]      --> lib/compress/zstd_compress.rs:10078:5
[INFO] [stdout]       |
[INFO] [stdout] 10078 |     endOp: ZSTD_EndDirective,
[INFO] [stdout]       |     ^^^^^ help: if this is intentional, prefix it with an underscore: `_endOp`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `externalRepSearch`
[INFO] [stdout]      --> lib/compress/zstd_compress.rs:10578:5
[INFO] [stdout]       |
[INFO] [stdout] 10578 |     externalRepSearch: ZSTD_ParamSwitch_e,
[INFO] [stdout]       |     ^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_externalRepSearch`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `dstCapacity`
[INFO] [stdout]   --> lib/compress/zstd_compress_literals.rs:99:5
[INFO] [stdout]    |
[INFO] [stdout] 99 |     dstCapacity: size_t,
[INFO] [stdout]    |     ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_dstCapacity`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `hasStep`
[INFO] [stdout]    --> lib/compress/zstd_fast.rs:837:5
[INFO] [stdout]     |
[INFO] [stdout] 837 |     hasStep: u32,
[INFO] [stdout]     |     ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_hasStep`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `maxDistance`
[INFO] [stdout]    --> lib/compress/zstd_fast.rs:869:9
[INFO] [stdout]     |
[INFO] [stdout] 869 |     let maxDistance = (1) << (*cParams).windowLog;
[INFO] [stdout]     |         ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_maxDistance`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `endIndex`
[INFO] [stdout]    --> lib/compress/zstd_fast.rs:870:9
[INFO] [stdout]     |
[INFO] [stdout] 870 |     let endIndex = (istart.offset_from(base) as size_t).wrapping_add(srcSize) as u32;
[INFO] [stdout]     |         ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_endIndex`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `hasStep`
[INFO] [stdout]     --> lib/compress/zstd_fast.rs:1141:5
[INFO] [stdout]      |
[INFO] [stdout] 1141 |     hasStep: u32,
[INFO] [stdout]      |     ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_hasStep`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `iend`
[INFO] [stdout]    --> lib/compress/zstd_lazy.rs:420:70
[INFO] [stdout]     |
[INFO] [stdout] 420 | unsafe fn ZSTD_updateDUBT(ms: *mut ZSTD_MatchState_t, ip: *const u8, iend: *const u8, mls: u32) {
[INFO] [stdout]     |                                                                      ^^^^ help: if this is intentional, prefix it with an underscore: `_iend`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `dictMode`
[INFO] [stdout]    --> lib/compress/zstd_lazy.rs:566:5
[INFO] [stdout]     |
[INFO] [stdout] 566 |     dictMode: ZSTD_dictMode_e,
[INFO] [stdout]     |     ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_dictMode`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `mIndex`
[INFO] [stdout]    --> lib/compress/zstd_lazy.rs:647:13
[INFO] [stdout]     |
[INFO] [stdout] 647 |         let mIndex = curr.wrapping_sub((*offsetPtr).wrapping_sub(ZSTD_REP_NUM as size_t) as u32);
[INFO] [stdout]     |             ^^^^^^ help: if this is intentional, prefix it with an underscore: `_mIndex`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `mIndex`
[INFO] [stdout]    --> lib/compress/zstd_lazy.rs:806:13
[INFO] [stdout]     |
[INFO] [stdout] 806 |         let mIndex = curr.wrapping_sub((*offBasePtr).wrapping_sub(ZSTD_REP_NUM as size_t) as u32);
[INFO] [stdout]     |             ^^^^^^ help: if this is intentional, prefix it with an underscore: `_mIndex`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `ddsLowestIndex`
[INFO] [stdout]    --> lib/compress/zstd_lazy.rs:964:9
[INFO] [stdout]     |
[INFO] [stdout] 964 |     let ddsLowestIndex = (*dms).window.dictLimit;
[INFO] [stdout]     |         ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_ddsLowestIndex`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `entry`
[INFO] [stdout]     --> lib/compress/zstd_lazy.rs:1157:13
[INFO] [stdout]      |
[INFO] [stdout] 1157 |         let entry: *const u32 = &mut *((*dms).hashTable).add(ddsIdx) as *mut u32;
[INFO] [stdout]      |             ^^^^^ help: if this is intentional, prefix it with an underscore: `_entry`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `hashTable`
[INFO] [stdout]     --> lib/compress/zstd_lazy.rs:1289:29
[INFO] [stdout]      |
[INFO] [stdout] 1289 | unsafe fn ZSTD_row_prefetch(hashTable: *const u32, tagTable: *const u8, relRow: u32, rowLog: u32) {
[INFO] [stdout]      |                             ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_hashTable`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `tagTable`
[INFO] [stdout]     --> lib/compress/zstd_lazy.rs:1289:52
[INFO] [stdout]      |
[INFO] [stdout] 1289 | unsafe fn ZSTD_row_prefetch(hashTable: *const u32, tagTable: *const u8, relRow: u32, rowLog: u32) {
[INFO] [stdout]      |                                                    ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_tagTable`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `relRow`
[INFO] [stdout]     --> lib/compress/zstd_lazy.rs:1289:73
[INFO] [stdout]      |
[INFO] [stdout] 1289 | unsafe fn ZSTD_row_prefetch(hashTable: *const u32, tagTable: *const u8, relRow: u32, rowLog: u32) {
[INFO] [stdout]      |                                                                         ^^^^^^ help: if this is intentional, prefix it with an underscore: `_relRow`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `rowEntries`
[INFO] [stdout]     --> lib/compress/zstd_lazy.rs:1447:40
[INFO] [stdout]      |
[INFO] [stdout] 1447 | unsafe fn ZSTD_row_matchMaskGroupWidth(rowEntries: u32) -> u32 {
[INFO] [stdout]      |                                        ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_rowEntries`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `wkspSize`
[INFO] [stdout]    --> lib/compress/zstd_preSplit.rs:174:5
[INFO] [stdout]     |
[INFO] [stdout] 174 |     wkspSize: size_t,
[INFO] [stdout]     |     ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_wkspSize`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `wkspSize`
[INFO] [stdout]    --> lib/compress/zstd_preSplit.rs:235:5
[INFO] [stdout]     |
[INFO] [stdout] 235 |     wkspSize: size_t,
[INFO] [stdout]     |     ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_wkspSize`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `serialState`
[INFO] [stdout]    --> lib/compress/zstdmt_compress.rs:772:5
[INFO] [stdout]     |
[INFO] [stdout] 772 |     serialState: *const SerialState,
[INFO] [stdout]     |     ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_serialState`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `cSize`
[INFO] [stdout]    --> lib/compress/zstdmt_compress.rs:783:5
[INFO] [stdout]     |
[INFO] [stdout] 783 |     cSize: size_t,
[INFO] [stdout]     |     ^^^^^ help: if this is intentional, prefix it with an underscore: `_cSize`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `openMP`
[INFO] [stdout]     --> lib/dictBuilder/divsufsort.rs:3273:5
[INFO] [stdout]      |
[INFO] [stdout] 3273 |     openMP: core::ffi::c_int,
[INFO] [stdout]      |     ^^^^^^ help: if this is intentional, prefix it with an underscore: `_openMP`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `flushEvents` is never used
[INFO] [stdout]    --> lib/compress/zstd_preSplit.rs:143:11
[INFO] [stdout]     |
[INFO] [stdout] 143 | unsafe fn flushEvents(fpstats: *mut FPStats) {
[INFO] [stdout]     |           ^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `removeEvents` is never used
[INFO] [stdout]    --> lib/compress/zstd_preSplit.rs:158:11
[INFO] [stdout]     |
[INFO] [stdout] 158 | unsafe fn removeEvents(acc: *mut Fingerprint, slice: *const Fingerprint) {
[INFO] [stdout]     |           ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused comparison that must be used
[INFO] [stdout]     --> lib/compress/zstd_compress.rs:1061:9
[INFO] [stdout]      |
[INFO] [stdout] 1061 |         *loadedDictEndPtr != 0;
[INFO] [stdout]      |         ^^^^^^^^^^^^^^^^^^^^^^ the comparison produces a value
[INFO] [stdout]      |
[INFO] [stdout]      = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]      |
[INFO] [stdout] 1061 |         let _ = *loadedDictEndPtr != 0;
[INFO] [stdout]      |         +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused comparison that must be used
[INFO] [stdout]     --> lib/compress/zstd_compress.rs:4013:5
[INFO] [stdout]      |
[INFO] [stdout] 4013 |     buffered != 0;
[INFO] [stdout]      |     ^^^^^^^^^^^^^ the comparison produces a value
[INFO] [stdout]      |
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]      |
[INFO] [stdout] 4013 |     let _ = buffered != 0;
[INFO] [stdout]      |     +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused return value of `std::mem::size_of` that must be used
[INFO] [stdout]     --> lib/compress/zstd_compress.rs:5498:5
[INFO] [stdout]      |
[INFO] [stdout] 5498 |     ::core::mem::size_of::<ptrdiff_t>();
[INFO] [stdout]      |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]      |
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]      |
[INFO] [stdout] 5498 |     let _ = ::core::mem::size_of::<ptrdiff_t>();
[INFO] [stdout]      |     +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused comparison that must be used
[INFO] [stdout]     --> lib/compress/zstd_compress.rs:7468:9
[INFO] [stdout]      |
[INFO] [stdout] 7468 |         loadLdmDict != 0;
[INFO] [stdout]      |         ^^^^^^^^^^^^^^^^ the comparison produces a value
[INFO] [stdout]      |
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]      |
[INFO] [stdout] 7468 |         let _ = loadLdmDict != 0;
[INFO] [stdout]      |         +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused comparison that must be used
[INFO] [stdout]     --> lib/compress/zstd_compress.rs:9803:5
[INFO] [stdout]      |
[INFO] [stdout] 9803 | /     (*zcs).appliedParams.inBufferMode as core::ffi::c_uint
[INFO] [stdout] 9804 | |         == ZSTD_bm_buffered as core::ffi::c_int as core::ffi::c_uint;
[INFO] [stdout]      | |____________________________________________________________________^ the comparison produces a value
[INFO] [stdout]      |
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]      |
[INFO] [stdout] 9803 |     let _ = (*zcs).appliedParams.inBufferMode as core::ffi::c_uint
[INFO] [stdout]      |     +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused comparison that must be used
[INFO] [stdout]     --> lib/compress/zstd_compress.rs:9805:5
[INFO] [stdout]      |
[INFO] [stdout] 9805 | /     (*zcs).appliedParams.outBufferMode as core::ffi::c_uint
[INFO] [stdout] 9806 | |         == ZSTD_bm_buffered as core::ffi::c_int as core::ffi::c_uint;
[INFO] [stdout]      | |____________________________________________________________________^ the comparison produces a value
[INFO] [stdout]      |
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]      |
[INFO] [stdout] 9805 |     let _ = (*zcs).appliedParams.outBufferMode as core::ffi::c_uint
[INFO] [stdout]      |     +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused comparison that must be used
[INFO] [stdout]     --> lib/compress/zstd_compress.rs:9948:33
[INFO] [stdout]      |
[INFO] [stdout] 9948 | ...                   lastBlock == 0;
[INFO] [stdout]      |                       ^^^^^^^^^^^^^^ the comparison produces a value
[INFO] [stdout]      |
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]      |
[INFO] [stdout] 9948 |                                 let _ = lastBlock == 0;
[INFO] [stdout]      |                                 +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused comparison that must be used
[INFO] [stdout]     --> lib/compress/zstd_compress.rs:9981:33
[INFO] [stdout]      |
[INFO] [stdout] 9981 | ...                   lastBlock_0 != 0;
[INFO] [stdout]      |                       ^^^^^^^^^^^^^^^^ the comparison produces a value
[INFO] [stdout]      |
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]      |
[INFO] [stdout] 9981 |                                 let _ = lastBlock_0 != 0;
[INFO] [stdout]      |                                 +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused comparison that must be used
[INFO] [stdout]    --> lib/compress/zstd_compress_literals.rs:280:13
[INFO] [stdout]     |
[INFO] [stdout] 280 |             singleStream == 0;
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^^^ the comparison produces a value
[INFO] [stdout]     |
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 280 |             let _ = singleStream == 0;
[INFO] [stdout]     |             +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused comparison that must be used
[INFO] [stdout]    --> lib/compress/zstd_compress_sequences.rs:223:9
[INFO] [stdout]     |
[INFO] [stdout] 223 |         isDefaultAllowed as u64 != 0;
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the comparison produces a value
[INFO] [stdout]     |
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 223 |         let _ = isDefaultAllowed as u64 != 0;
[INFO] [stdout]     |         +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused comparison that must be used
[INFO] [stdout]    --> lib/compress/zstd_compress_superblock.rs:489:5
[INFO] [stdout]     |
[INFO] [stdout] 489 |     lastSubBlock == 0;
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^ the comparison produces a value
[INFO] [stdout]     |
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 489 |     let _ = lastSubBlock == 0;
[INFO] [stdout]     |     +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused comparison that must be used
[INFO] [stdout]    --> lib/compress/zstd_lazy.rs:430:5
[INFO] [stdout]     |
[INFO] [stdout] 430 |     idx != target;
[INFO] [stdout]     |     ^^^^^^^^^^^^^ the comparison produces a value
[INFO] [stdout]     |
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 430 |     let _ = idx != target;
[INFO] [stdout]     |     +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused return value of `std::ptr::mut_ptr::<impl *mut T>::offset` that must be used
[INFO] [stdout]    --> lib/compress/zstd_lazy.rs:984:5
[INFO] [stdout]     |
[INFO] [stdout] 984 |     ((*dms).chainTable).offset(chainIndex as isize);
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: returns a new pointer rather than modifying its argument
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 984 |     let _ = ((*dms).chainTable).offset(chainIndex as isize);
[INFO] [stdout]     |     +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused comparison that must be used
[INFO] [stdout]     --> lib/compress/zstd_lazy.rs:1290:5
[INFO] [stdout]      |
[INFO] [stdout] 1290 |     rowLog >= 5;
[INFO] [stdout]      |     ^^^^^^^^^^^ the comparison produces a value
[INFO] [stdout]      |
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]      |
[INFO] [stdout] 1290 |     let _ = rowLog >= 5;
[INFO] [stdout]      |     +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused comparison that must be used
[INFO] [stdout]     --> lib/compress/zstd_lazy.rs:1291:5
[INFO] [stdout]      |
[INFO] [stdout] 1291 |     rowLog == 6;
[INFO] [stdout]      |     ^^^^^^^^^^^ the comparison produces a value
[INFO] [stdout]      |
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]      |
[INFO] [stdout] 1291 |     let _ = rowLog == 6;
[INFO] [stdout]      |     +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused return value of `std::ptr::mut_ptr::<impl *mut T>::add` that must be used
[INFO] [stdout]     --> lib/compress/zstd_lazy.rs:1628:9
[INFO] [stdout]      |
[INFO] [stdout] 1628 |         ((*dms).hashTable).add(ddsIdx);
[INFO] [stdout]      |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]      |
[INFO] [stdout]      = note: returns a new pointer rather than modifying its argument
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]      |
[INFO] [stdout] 1628 |         let _ = ((*dms).hashTable).add(ddsIdx);
[INFO] [stdout]      |         +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused comparison that must be used
[INFO] [stdout]     --> lib/compress/zstd_lazy.rs:1685:17
[INFO] [stdout]      |
[INFO] [stdout] 1685 |                 matchIndex >= dictLimit;
[INFO] [stdout]      |                 ^^^^^^^^^^^^^^^^^^^^^^^ the comparison produces a value
[INFO] [stdout]      |
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]      |
[INFO] [stdout] 1685 |                 let _ = matchIndex >= dictLimit;
[INFO] [stdout]      |                 +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused comparison that must be used
[INFO] [stdout]     --> lib/compress/zstd_lazy.rs:2796:5
[INFO] [stdout]      |
[INFO] [stdout] 2796 |     isDxS != 0;
[INFO] [stdout]      |     ^^^^^^^^^^ the comparison produces a value
[INFO] [stdout]      |
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]      |
[INFO] [stdout] 2796 |     let _ = isDxS != 0;
[INFO] [stdout]      |     +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused comparison that must be used
[INFO] [stdout]     --> lib/compress/zstd_opt.rs:1286:13
[INFO] [stdout]      |
[INFO] [stdout] 1286 |             matchIndex >= dictLimit;
[INFO] [stdout]      |             ^^^^^^^^^^^^^^^^^^^^^^^ the comparison produces a value
[INFO] [stdout]      |
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]      |
[INFO] [stdout] 1286 |             let _ = matchIndex >= dictLimit;
[INFO] [stdout]      |             +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused return value of `std::mem::size_of` that must be used
[INFO] [stdout]    --> lib/compress/zstdmt_compress.rs:962:37
[INFO] [stdout]     |
[INFO] [stdout] 962 | ...                   ::core::mem::size_of::<size_t>();
[INFO] [stdout]     |                       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 962 |                                     let _ = ::core::mem::size_of::<size_t>();
[INFO] [stdout]     |                                     +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused return value of `std::mem::size_of` that must be used
[INFO] [stdout]    --> lib/compress/zstdmt_compress.rs:963:37
[INFO] [stdout]     |
[INFO] [stdout] 963 | ...                   ::core::mem::size_of::<core::ffi::c_int>();
[INFO] [stdout]     |                       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 963 |                                     let _ = ::core::mem::size_of::<core::ffi::c_int>();
[INFO] [stdout]     |                                     +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused comparison that must be used
[INFO] [stdout]     --> lib/compress/zstdmt_compress.rs:1048:53
[INFO] [stdout]      |
[INFO] [stdout] 1048 | ...                   (*job).firstJob == 0;
[INFO] [stdout]      |                       ^^^^^^^^^^^^^^^^^^^^ the comparison produces a value
[INFO] [stdout]      |
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]      |
[INFO] [stdout] 1048 |                                                     let _ = (*job).firstJob == 0;
[INFO] [stdout]      |                                                     +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused comparison that must be used
[INFO] [stdout]     --> lib/compress/zstdmt_compress.rs:1063:5
[INFO] [stdout]      |
[INFO] [stdout] 1063 |     (*job).prefix.size > 0;
[INFO] [stdout]      |     ^^^^^^^^^^^^^^^^^^^^^^ the comparison produces a value
[INFO] [stdout]      |
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]      |
[INFO] [stdout] 1063 |     let _ = (*job).prefix.size > 0;
[INFO] [stdout]      |     +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused comparison that must be used
[INFO] [stdout]     --> lib/compress/zstdmt_compress.rs:1431:5
[INFO] [stdout]      |
[INFO] [stdout] 1431 |     toFlush == 0;
[INFO] [stdout]      |     ^^^^^^^^^^^^ the comparison produces a value
[INFO] [stdout]      |
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]      |
[INFO] [stdout] 1431 |     let _ = toFlush == 0;
[INFO] [stdout]      |     +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: direct cast of function item into an integer
[INFO] [stdout]    --> programs/fileio.rs:431:35
[INFO] [stdout]     |
[INFO] [stdout] 431 |         signal(SIGINT, INThandler as sighandler_t);
[INFO] [stdout]     |                                   ^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(function_casts_as_integer)]` on by default
[INFO] [stdout] help: first cast to a pointer `as *const ()`
[INFO] [stdout]     |
[INFO] [stdout] 431 |         signal(SIGINT, INThandler as *const () as sighandler_t);
[INFO] [stdout]     |                                   ++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a mutable reference to mutable static
[INFO] [stdout]    --> programs/lorem.rs:312:14
[INFO] [stdout]     |
[INFO] [stdout] 312 |             *g_distrib.as_mut_ptr().add(fresh0) = w as core::ffi::c_int;
[INFO] [stdout]     |              ^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]     = note: `#[warn(static_mut_refs)]` (part of `#[warn(rust_2024_compatibility)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 12.37s
[INFO] running `Command { std: "docker" "inspect" "3de074fd17f79c4a7e51542ea810c9d1da71fe1d42724ffdc2665679e51fc324", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "3de074fd17f79c4a7e51542ea810c9d1da71fe1d42724ffdc2665679e51fc324", kill_on_drop: false }`
[INFO] [stdout] 3de074fd17f79c4a7e51542ea810c9d1da71fe1d42724ffdc2665679e51fc324
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+1f7f8ea0721a3b1eb73e6c6d25cccb371434b320" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 9e3fb89f320b24828e38d425bb31c18cebdadb994177d0a805ebf2024ea6f80f
[INFO] running `Command { std: "docker" "start" "-a" "9e3fb89f320b24828e38d425bb31c18cebdadb994177d0a805ebf2024ea6f80f", kill_on_drop: false }`
[INFO] [stderr]    Compiling memchr v2.7.5
[INFO] [stderr]    Compiling cfg-if v1.0.1
[INFO] [stderr]    Compiling bindgen v0.71.1
[INFO] [stderr]    Compiling jobserver v0.1.33
[INFO] [stderr]    Compiling regex-syntax v0.8.5
[INFO] [stderr]    Compiling log v0.4.27
[INFO] [stderr]    Compiling xxhash-rust v0.8.15
[INFO] [stderr]    Compiling libloading v0.8.8
[INFO] [stderr]    Compiling getrandom v0.2.16
[INFO] [stderr]    Compiling cc v1.2.30
[INFO] [stderr]    Compiling clang-sys v1.8.1
[INFO] [stderr]    Compiling rand_core v0.6.4
[INFO] [stderr]    Compiling nom v7.1.3
[INFO] [stderr]    Compiling aho-corasick v1.1.3
[INFO] [stderr]    Compiling rand v0.8.5
[INFO] [stderr]    Compiling regex-automata v0.4.9
[INFO] [stderr]    Compiling libzstd-rs-sys v0.0.0 (/opt/rustwide/workdir)
[INFO] [stderr]    Compiling cexpr v0.6.0
[INFO] [stdout] warning: unreachable expression
[INFO] [stdout]     --> lib/compress/zstd_lazy.rs:2689:5
[INFO] [stdout]      |
[INFO] [stdout] 2688 |     unreachable!();
[INFO] [stdout]      |     -------------- any code following this expression is unreachable
[INFO] [stdout] 2689 |     0
[INFO] [stdout]      |     ^ unreachable expression
[INFO] [stdout]      |
[INFO] [stdout]      = note: `#[warn(unreachable_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `ws`
[INFO] [stdout]     --> lib/compress/zstd_compress.rs:1214:50
[INFO] [stdout]      |
[INFO] [stdout] 1214 | unsafe fn ZSTD_cwksp_assert_internal_consistency(ws: *mut ZSTD_cwksp) {}
[INFO] [stdout]      |                                                  ^^ help: if this is intentional, prefix it with an underscore: `_ws`
[INFO] [stdout]      |
[INFO] [stdout]      = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `err`
[INFO] [stdout]     --> lib/compress/zstd_compress.rs:1895:9
[INFO] [stdout]      |
[INFO] [stdout] 1895 |     let err = ZSTD_CCtx_reset(cctx, ZSTD_reset_parameters);
[INFO] [stdout]      |         ^^^ help: if this is intentional, prefix it with an underscore: `_err`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `cParams1`
[INFO] [stdout]     --> lib/compress/zstd_compress.rs:4030:5
[INFO] [stdout]      |
[INFO] [stdout] 4030 |     cParams1: ZSTD_compressionParameters,
[INFO] [stdout]      |     ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_cParams1`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `cParams2`
[INFO] [stdout]     --> lib/compress/zstd_compress.rs:4031:5
[INFO] [stdout]      |
[INFO] [stdout] 4031 |     cParams2: ZSTD_compressionParameters,
[INFO] [stdout]      |     ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_cParams2`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `seqStore`
[INFO] [stdout]     --> lib/compress/zstd_compress.rs:5462:5
[INFO] [stdout]      |
[INFO] [stdout] 5462 |     seqStore: *const SeqStore_t,
[INFO] [stdout]      |     ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_seqStore`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `cParams`
[INFO] [stdout]     --> lib/compress/zstd_compress.rs:5463:5
[INFO] [stdout]      |
[INFO] [stdout] 5463 |     cParams: *const ZSTD_compressionParameters,
[INFO] [stdout]      |     ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_cParams`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]    Compiling regex v1.11.1
[INFO] [stdout] warning: unused variable: `defaultMax`
[INFO] [stdout]     --> lib/compress/zstd_compress.rs:6169:5
[INFO] [stdout]      |
[INFO] [stdout] 6169 |     defaultMax: u32,
[INFO] [stdout]      |     ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_defaultMax`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `endOp`
[INFO] [stdout]      --> lib/compress/zstd_compress.rs:10078:5
[INFO] [stdout]       |
[INFO] [stdout] 10078 |     endOp: ZSTD_EndDirective,
[INFO] [stdout]       |     ^^^^^ help: if this is intentional, prefix it with an underscore: `_endOp`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `externalRepSearch`
[INFO] [stdout]      --> lib/compress/zstd_compress.rs:10578:5
[INFO] [stdout]       |
[INFO] [stdout] 10578 |     externalRepSearch: ZSTD_ParamSwitch_e,
[INFO] [stdout]       |     ^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_externalRepSearch`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `dstCapacity`
[INFO] [stdout]   --> lib/compress/zstd_compress_literals.rs:99:5
[INFO] [stdout]    |
[INFO] [stdout] 99 |     dstCapacity: size_t,
[INFO] [stdout]    |     ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_dstCapacity`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `hasStep`
[INFO] [stdout]    --> lib/compress/zstd_fast.rs:837:5
[INFO] [stdout]     |
[INFO] [stdout] 837 |     hasStep: u32,
[INFO] [stdout]     |     ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_hasStep`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `maxDistance`
[INFO] [stdout]    --> lib/compress/zstd_fast.rs:869:9
[INFO] [stdout]     |
[INFO] [stdout] 869 |     let maxDistance = (1) << (*cParams).windowLog;
[INFO] [stdout]     |         ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_maxDistance`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `endIndex`
[INFO] [stdout]    --> lib/compress/zstd_fast.rs:870:9
[INFO] [stdout]     |
[INFO] [stdout] 870 |     let endIndex = (istart.offset_from(base) as size_t).wrapping_add(srcSize) as u32;
[INFO] [stdout]     |         ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_endIndex`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `hasStep`
[INFO] [stdout]     --> lib/compress/zstd_fast.rs:1141:5
[INFO] [stdout]      |
[INFO] [stdout] 1141 |     hasStep: u32,
[INFO] [stdout]      |     ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_hasStep`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `iend`
[INFO] [stdout]    --> lib/compress/zstd_lazy.rs:420:70
[INFO] [stdout]     |
[INFO] [stdout] 420 | unsafe fn ZSTD_updateDUBT(ms: *mut ZSTD_MatchState_t, ip: *const u8, iend: *const u8, mls: u32) {
[INFO] [stdout]     |                                                                      ^^^^ help: if this is intentional, prefix it with an underscore: `_iend`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `dictMode`
[INFO] [stdout]    --> lib/compress/zstd_lazy.rs:566:5
[INFO] [stdout]     |
[INFO] [stdout] 566 |     dictMode: ZSTD_dictMode_e,
[INFO] [stdout]     |     ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_dictMode`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `mIndex`
[INFO] [stdout]    --> lib/compress/zstd_lazy.rs:647:13
[INFO] [stdout]     |
[INFO] [stdout] 647 |         let mIndex = curr.wrapping_sub((*offsetPtr).wrapping_sub(ZSTD_REP_NUM as size_t) as u32);
[INFO] [stdout]     |             ^^^^^^ help: if this is intentional, prefix it with an underscore: `_mIndex`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `mIndex`
[INFO] [stdout]    --> lib/compress/zstd_lazy.rs:806:13
[INFO] [stdout]     |
[INFO] [stdout] 806 |         let mIndex = curr.wrapping_sub((*offBasePtr).wrapping_sub(ZSTD_REP_NUM as size_t) as u32);
[INFO] [stdout]     |             ^^^^^^ help: if this is intentional, prefix it with an underscore: `_mIndex`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `ddsLowestIndex`
[INFO] [stdout]    --> lib/compress/zstd_lazy.rs:964:9
[INFO] [stdout]     |
[INFO] [stdout] 964 |     let ddsLowestIndex = (*dms).window.dictLimit;
[INFO] [stdout]     |         ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_ddsLowestIndex`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `entry`
[INFO] [stdout]     --> lib/compress/zstd_lazy.rs:1157:13
[INFO] [stdout]      |
[INFO] [stdout] 1157 |         let entry: *const u32 = &mut *((*dms).hashTable).add(ddsIdx) as *mut u32;
[INFO] [stdout]      |             ^^^^^ help: if this is intentional, prefix it with an underscore: `_entry`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `hashTable`
[INFO] [stdout]     --> lib/compress/zstd_lazy.rs:1289:29
[INFO] [stdout]      |
[INFO] [stdout] 1289 | unsafe fn ZSTD_row_prefetch(hashTable: *const u32, tagTable: *const u8, relRow: u32, rowLog: u32) {
[INFO] [stdout]      |                             ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_hashTable`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `tagTable`
[INFO] [stdout]     --> lib/compress/zstd_lazy.rs:1289:52
[INFO] [stdout]      |
[INFO] [stdout] 1289 | unsafe fn ZSTD_row_prefetch(hashTable: *const u32, tagTable: *const u8, relRow: u32, rowLog: u32) {
[INFO] [stdout]      |                                                    ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_tagTable`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `relRow`
[INFO] [stdout]     --> lib/compress/zstd_lazy.rs:1289:73
[INFO] [stdout]      |
[INFO] [stdout] 1289 | unsafe fn ZSTD_row_prefetch(hashTable: *const u32, tagTable: *const u8, relRow: u32, rowLog: u32) {
[INFO] [stdout]      |                                                                         ^^^^^^ help: if this is intentional, prefix it with an underscore: `_relRow`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `rowEntries`
[INFO] [stdout]     --> lib/compress/zstd_lazy.rs:1447:40
[INFO] [stdout]      |
[INFO] [stdout] 1447 | unsafe fn ZSTD_row_matchMaskGroupWidth(rowEntries: u32) -> u32 {
[INFO] [stdout]      |                                        ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_rowEntries`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `wkspSize`
[INFO] [stdout]    --> lib/compress/zstd_preSplit.rs:174:5
[INFO] [stdout]     |
[INFO] [stdout] 174 |     wkspSize: size_t,
[INFO] [stdout]     |     ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_wkspSize`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `wkspSize`
[INFO] [stdout]    --> lib/compress/zstd_preSplit.rs:235:5
[INFO] [stdout]     |
[INFO] [stdout] 235 |     wkspSize: size_t,
[INFO] [stdout]     |     ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_wkspSize`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `serialState`
[INFO] [stdout]    --> lib/compress/zstdmt_compress.rs:772:5
[INFO] [stdout]     |
[INFO] [stdout] 772 |     serialState: *const SerialState,
[INFO] [stdout]     |     ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_serialState`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `cSize`
[INFO] [stdout]    --> lib/compress/zstdmt_compress.rs:783:5
[INFO] [stdout]     |
[INFO] [stdout] 783 |     cSize: size_t,
[INFO] [stdout]     |     ^^^^^ help: if this is intentional, prefix it with an underscore: `_cSize`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]    Compiling env_logger v0.8.4
[INFO] [stdout] warning: unused variable: `openMP`
[INFO] [stdout]     --> lib/dictBuilder/divsufsort.rs:3273:5
[INFO] [stdout]      |
[INFO] [stdout] 3273 |     openMP: core::ffi::c_int,
[INFO] [stdout]      |     ^^^^^^ help: if this is intentional, prefix it with an underscore: `_openMP`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]    Compiling quickcheck v1.0.3
[INFO] [stdout] warning: function `flushEvents` is never used
[INFO] [stdout]    --> lib/compress/zstd_preSplit.rs:143:11
[INFO] [stdout]     |
[INFO] [stdout] 143 | unsafe fn flushEvents(fpstats: *mut FPStats) {
[INFO] [stdout]     |           ^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `removeEvents` is never used
[INFO] [stdout]    --> lib/compress/zstd_preSplit.rs:158:11
[INFO] [stdout]     |
[INFO] [stdout] 158 | unsafe fn removeEvents(acc: *mut Fingerprint, slice: *const Fingerprint) {
[INFO] [stdout]     |           ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused comparison that must be used
[INFO] [stdout]     --> lib/compress/zstd_compress.rs:1061:9
[INFO] [stdout]      |
[INFO] [stdout] 1061 |         *loadedDictEndPtr != 0;
[INFO] [stdout]      |         ^^^^^^^^^^^^^^^^^^^^^^ the comparison produces a value
[INFO] [stdout]      |
[INFO] [stdout]      = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]      |
[INFO] [stdout] 1061 |         let _ = *loadedDictEndPtr != 0;
[INFO] [stdout]      |         +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused comparison that must be used
[INFO] [stdout]     --> lib/compress/zstd_compress.rs:4013:5
[INFO] [stdout]      |
[INFO] [stdout] 4013 |     buffered != 0;
[INFO] [stdout]      |     ^^^^^^^^^^^^^ the comparison produces a value
[INFO] [stdout]      |
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]      |
[INFO] [stdout] 4013 |     let _ = buffered != 0;
[INFO] [stdout]      |     +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused return value of `std::mem::size_of` that must be used
[INFO] [stdout]     --> lib/compress/zstd_compress.rs:5498:5
[INFO] [stdout]      |
[INFO] [stdout] 5498 |     ::core::mem::size_of::<ptrdiff_t>();
[INFO] [stdout]      |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]      |
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]      |
[INFO] [stdout] 5498 |     let _ = ::core::mem::size_of::<ptrdiff_t>();
[INFO] [stdout]      |     +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused comparison that must be used
[INFO] [stdout]     --> lib/compress/zstd_compress.rs:7468:9
[INFO] [stdout]      |
[INFO] [stdout] 7468 |         loadLdmDict != 0;
[INFO] [stdout]      |         ^^^^^^^^^^^^^^^^ the comparison produces a value
[INFO] [stdout]      |
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]      |
[INFO] [stdout] 7468 |         let _ = loadLdmDict != 0;
[INFO] [stdout]      |         +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused comparison that must be used
[INFO] [stdout]     --> lib/compress/zstd_compress.rs:9803:5
[INFO] [stdout]      |
[INFO] [stdout] 9803 | /     (*zcs).appliedParams.inBufferMode as core::ffi::c_uint
[INFO] [stdout] 9804 | |         == ZSTD_bm_buffered as core::ffi::c_int as core::ffi::c_uint;
[INFO] [stdout]      | |____________________________________________________________________^ the comparison produces a value
[INFO] [stdout]      |
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]      |
[INFO] [stdout] 9803 |     let _ = (*zcs).appliedParams.inBufferMode as core::ffi::c_uint
[INFO] [stdout]      |     +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused comparison that must be used
[INFO] [stdout]     --> lib/compress/zstd_compress.rs:9805:5
[INFO] [stdout]      |
[INFO] [stdout] 9805 | /     (*zcs).appliedParams.outBufferMode as core::ffi::c_uint
[INFO] [stdout] 9806 | |         == ZSTD_bm_buffered as core::ffi::c_int as core::ffi::c_uint;
[INFO] [stdout]      | |____________________________________________________________________^ the comparison produces a value
[INFO] [stdout]      |
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]      |
[INFO] [stdout] 9805 |     let _ = (*zcs).appliedParams.outBufferMode as core::ffi::c_uint
[INFO] [stdout]      |     +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused comparison that must be used
[INFO] [stdout]     --> lib/compress/zstd_compress.rs:9948:33
[INFO] [stdout]      |
[INFO] [stdout] 9948 | ...                   lastBlock == 0;
[INFO] [stdout]      |                       ^^^^^^^^^^^^^^ the comparison produces a value
[INFO] [stdout]      |
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]      |
[INFO] [stdout] 9948 |                                 let _ = lastBlock == 0;
[INFO] [stdout]      |                                 +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused comparison that must be used
[INFO] [stdout]     --> lib/compress/zstd_compress.rs:9981:33
[INFO] [stdout]      |
[INFO] [stdout] 9981 | ...                   lastBlock_0 != 0;
[INFO] [stdout]      |                       ^^^^^^^^^^^^^^^^ the comparison produces a value
[INFO] [stdout]      |
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]      |
[INFO] [stdout] 9981 |                                 let _ = lastBlock_0 != 0;
[INFO] [stdout]      |                                 +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused comparison that must be used
[INFO] [stdout]    --> lib/compress/zstd_compress_literals.rs:280:13
[INFO] [stdout]     |
[INFO] [stdout] 280 |             singleStream == 0;
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^^^ the comparison produces a value
[INFO] [stdout]     |
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 280 |             let _ = singleStream == 0;
[INFO] [stdout]     |             +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused comparison that must be used
[INFO] [stdout]    --> lib/compress/zstd_compress_sequences.rs:223:9
[INFO] [stdout]     |
[INFO] [stdout] 223 |         isDefaultAllowed as u64 != 0;
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the comparison produces a value
[INFO] [stdout]     |
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 223 |         let _ = isDefaultAllowed as u64 != 0;
[INFO] [stdout]     |         +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused comparison that must be used
[INFO] [stdout]    --> lib/compress/zstd_compress_superblock.rs:489:5
[INFO] [stdout]     |
[INFO] [stdout] 489 |     lastSubBlock == 0;
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^ the comparison produces a value
[INFO] [stdout]     |
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 489 |     let _ = lastSubBlock == 0;
[INFO] [stdout]     |     +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused comparison that must be used
[INFO] [stdout]    --> lib/compress/zstd_lazy.rs:430:5
[INFO] [stdout]     |
[INFO] [stdout] 430 |     idx != target;
[INFO] [stdout]     |     ^^^^^^^^^^^^^ the comparison produces a value
[INFO] [stdout]     |
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 430 |     let _ = idx != target;
[INFO] [stdout]     |     +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused return value of `std::ptr::mut_ptr::<impl *mut T>::offset` that must be used
[INFO] [stdout]    --> lib/compress/zstd_lazy.rs:984:5
[INFO] [stdout]     |
[INFO] [stdout] 984 |     ((*dms).chainTable).offset(chainIndex as isize);
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: returns a new pointer rather than modifying its argument
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 984 |     let _ = ((*dms).chainTable).offset(chainIndex as isize);
[INFO] [stdout]     |     +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused comparison that must be used
[INFO] [stdout]     --> lib/compress/zstd_lazy.rs:1290:5
[INFO] [stdout]      |
[INFO] [stdout] 1290 |     rowLog >= 5;
[INFO] [stdout]      |     ^^^^^^^^^^^ the comparison produces a value
[INFO] [stdout]      |
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]      |
[INFO] [stdout] 1290 |     let _ = rowLog >= 5;
[INFO] [stdout]      |     +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused comparison that must be used
[INFO] [stdout]     --> lib/compress/zstd_lazy.rs:1291:5
[INFO] [stdout]      |
[INFO] [stdout] 1291 |     rowLog == 6;
[INFO] [stdout]      |     ^^^^^^^^^^^ the comparison produces a value
[INFO] [stdout]      |
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]      |
[INFO] [stdout] 1291 |     let _ = rowLog == 6;
[INFO] [stdout]      |     +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused return value of `std::ptr::mut_ptr::<impl *mut T>::add` that must be used
[INFO] [stdout]     --> lib/compress/zstd_lazy.rs:1628:9
[INFO] [stdout]      |
[INFO] [stdout] 1628 |         ((*dms).hashTable).add(ddsIdx);
[INFO] [stdout]      |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]      |
[INFO] [stdout]      = note: returns a new pointer rather than modifying its argument
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]      |
[INFO] [stdout] 1628 |         let _ = ((*dms).hashTable).add(ddsIdx);
[INFO] [stdout]      |         +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused comparison that must be used
[INFO] [stdout]     --> lib/compress/zstd_lazy.rs:1685:17
[INFO] [stdout]      |
[INFO] [stdout] 1685 |                 matchIndex >= dictLimit;
[INFO] [stdout]      |                 ^^^^^^^^^^^^^^^^^^^^^^^ the comparison produces a value
[INFO] [stdout]      |
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]      |
[INFO] [stdout] 1685 |                 let _ = matchIndex >= dictLimit;
[INFO] [stdout]      |                 +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused comparison that must be used
[INFO] [stdout]     --> lib/compress/zstd_lazy.rs:2796:5
[INFO] [stdout]      |
[INFO] [stdout] 2796 |     isDxS != 0;
[INFO] [stdout]      |     ^^^^^^^^^^ the comparison produces a value
[INFO] [stdout]      |
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]      |
[INFO] [stdout] 2796 |     let _ = isDxS != 0;
[INFO] [stdout]      |     +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused comparison that must be used
[INFO] [stdout]     --> lib/compress/zstd_opt.rs:1286:13
[INFO] [stdout]      |
[INFO] [stdout] 1286 |             matchIndex >= dictLimit;
[INFO] [stdout]      |             ^^^^^^^^^^^^^^^^^^^^^^^ the comparison produces a value
[INFO] [stdout]      |
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]      |
[INFO] [stdout] 1286 |             let _ = matchIndex >= dictLimit;
[INFO] [stdout]      |             +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused return value of `std::mem::size_of` that must be used
[INFO] [stdout]    --> lib/compress/zstdmt_compress.rs:962:37
[INFO] [stdout]     |
[INFO] [stdout] 962 | ...                   ::core::mem::size_of::<size_t>();
[INFO] [stdout]     |                       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 962 |                                     let _ = ::core::mem::size_of::<size_t>();
[INFO] [stdout]     |                                     +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused return value of `std::mem::size_of` that must be used
[INFO] [stdout]    --> lib/compress/zstdmt_compress.rs:963:37
[INFO] [stdout]     |
[INFO] [stdout] 963 | ...                   ::core::mem::size_of::<core::ffi::c_int>();
[INFO] [stdout]     |                       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 963 |                                     let _ = ::core::mem::size_of::<core::ffi::c_int>();
[INFO] [stdout]     |                                     +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused comparison that must be used
[INFO] [stdout]     --> lib/compress/zstdmt_compress.rs:1048:53
[INFO] [stdout]      |
[INFO] [stdout] 1048 | ...                   (*job).firstJob == 0;
[INFO] [stdout]      |                       ^^^^^^^^^^^^^^^^^^^^ the comparison produces a value
[INFO] [stdout]      |
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]      |
[INFO] [stdout] 1048 |                                                     let _ = (*job).firstJob == 0;
[INFO] [stdout]      |                                                     +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused comparison that must be used
[INFO] [stdout]     --> lib/compress/zstdmt_compress.rs:1063:5
[INFO] [stdout]      |
[INFO] [stdout] 1063 |     (*job).prefix.size > 0;
[INFO] [stdout]      |     ^^^^^^^^^^^^^^^^^^^^^^ the comparison produces a value
[INFO] [stdout]      |
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]      |
[INFO] [stdout] 1063 |     let _ = (*job).prefix.size > 0;
[INFO] [stdout]      |     +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused comparison that must be used
[INFO] [stdout]     --> lib/compress/zstdmt_compress.rs:1431:5
[INFO] [stdout]      |
[INFO] [stdout] 1431 |     toFlush == 0;
[INFO] [stdout]      |     ^^^^^^^^^^^^ the comparison produces a value
[INFO] [stdout]      |
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]      |
[INFO] [stdout] 1431 |     let _ = toFlush == 0;
[INFO] [stdout]      |     +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]    Compiling zstd-sys v2.0.15+zstd.1.5.7
[INFO] [stdout] warning: direct cast of function item into an integer
[INFO] [stdout]    --> programs/fileio.rs:431:35
[INFO] [stdout]     |
[INFO] [stdout] 431 |         signal(SIGINT, INThandler as sighandler_t);
[INFO] [stdout]     |                                   ^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(function_casts_as_integer)]` on by default
[INFO] [stdout] help: first cast to a pointer `as *const ()`
[INFO] [stdout]     |
[INFO] [stdout] 431 |         signal(SIGINT, INThandler as *const () as sighandler_t);
[INFO] [stdout]     |                                   ++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a mutable reference to mutable static
[INFO] [stdout]    --> programs/lorem.rs:312:14
[INFO] [stdout]     |
[INFO] [stdout] 312 |             *g_distrib.as_mut_ptr().add(fresh0) = w as core::ffi::c_int;
[INFO] [stdout]     |              ^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]     = note: `#[warn(static_mut_refs)]` (part of `#[warn(rust_2024_compatibility)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unreachable expression
[INFO] [stdout]     --> lib/compress/zstd_lazy.rs:2689:5
[INFO] [stdout]      |
[INFO] [stdout] 2688 |     unreachable!();
[INFO] [stdout]      |     -------------- any code following this expression is unreachable
[INFO] [stdout] 2689 |     0
[INFO] [stdout]      |     ^ unreachable expression
[INFO] [stdout]      |
[INFO] [stdout]      = note: `#[warn(unreachable_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `ws`
[INFO] [stdout]     --> lib/compress/zstd_compress.rs:1214:50
[INFO] [stdout]      |
[INFO] [stdout] 1214 | unsafe fn ZSTD_cwksp_assert_internal_consistency(ws: *mut ZSTD_cwksp) {}
[INFO] [stdout]      |                                                  ^^ help: if this is intentional, prefix it with an underscore: `_ws`
[INFO] [stdout]      |
[INFO] [stdout]      = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `err`
[INFO] [stdout]     --> lib/compress/zstd_compress.rs:1895:9
[INFO] [stdout]      |
[INFO] [stdout] 1895 |     let err = ZSTD_CCtx_reset(cctx, ZSTD_reset_parameters);
[INFO] [stdout]      |         ^^^ help: if this is intentional, prefix it with an underscore: `_err`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `cParams1`
[INFO] [stdout]     --> lib/compress/zstd_compress.rs:4030:5
[INFO] [stdout]      |
[INFO] [stdout] 4030 |     cParams1: ZSTD_compressionParameters,
[INFO] [stdout]      |     ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_cParams1`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `cParams2`
[INFO] [stdout]     --> lib/compress/zstd_compress.rs:4031:5
[INFO] [stdout]      |
[INFO] [stdout] 4031 |     cParams2: ZSTD_compressionParameters,
[INFO] [stdout]      |     ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_cParams2`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `seqStore`
[INFO] [stdout]     --> lib/compress/zstd_compress.rs:5462:5
[INFO] [stdout]      |
[INFO] [stdout] 5462 |     seqStore: *const SeqStore_t,
[INFO] [stdout]      |     ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_seqStore`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `cParams`
[INFO] [stdout]     --> lib/compress/zstd_compress.rs:5463:5
[INFO] [stdout]      |
[INFO] [stdout] 5463 |     cParams: *const ZSTD_compressionParameters,
[INFO] [stdout]      |     ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_cParams`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `defaultMax`
[INFO] [stdout]     --> lib/compress/zstd_compress.rs:6169:5
[INFO] [stdout]      |
[INFO] [stdout] 6169 |     defaultMax: u32,
[INFO] [stdout]      |     ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_defaultMax`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `endOp`
[INFO] [stdout]      --> lib/compress/zstd_compress.rs:10078:5
[INFO] [stdout]       |
[INFO] [stdout] 10078 |     endOp: ZSTD_EndDirective,
[INFO] [stdout]       |     ^^^^^ help: if this is intentional, prefix it with an underscore: `_endOp`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `externalRepSearch`
[INFO] [stdout]      --> lib/compress/zstd_compress.rs:10578:5
[INFO] [stdout]       |
[INFO] [stdout] 10578 |     externalRepSearch: ZSTD_ParamSwitch_e,
[INFO] [stdout]       |     ^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_externalRepSearch`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `dstCapacity`
[INFO] [stdout]   --> lib/compress/zstd_compress_literals.rs:99:5
[INFO] [stdout]    |
[INFO] [stdout] 99 |     dstCapacity: size_t,
[INFO] [stdout]    |     ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_dstCapacity`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `hasStep`
[INFO] [stdout]    --> lib/compress/zstd_fast.rs:837:5
[INFO] [stdout]     |
[INFO] [stdout] 837 |     hasStep: u32,
[INFO] [stdout]     |     ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_hasStep`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `maxDistance`
[INFO] [stdout]    --> lib/compress/zstd_fast.rs:869:9
[INFO] [stdout]     |
[INFO] [stdout] 869 |     let maxDistance = (1) << (*cParams).windowLog;
[INFO] [stdout]     |         ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_maxDistance`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `endIndex`
[INFO] [stdout]    --> lib/compress/zstd_fast.rs:870:9
[INFO] [stdout]     |
[INFO] [stdout] 870 |     let endIndex = (istart.offset_from(base) as size_t).wrapping_add(srcSize) as u32;
[INFO] [stdout]     |         ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_endIndex`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `hasStep`
[INFO] [stdout]     --> lib/compress/zstd_fast.rs:1141:5
[INFO] [stdout]      |
[INFO] [stdout] 1141 |     hasStep: u32,
[INFO] [stdout]      |     ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_hasStep`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `iend`
[INFO] [stdout]    --> lib/compress/zstd_lazy.rs:420:70
[INFO] [stdout]     |
[INFO] [stdout] 420 | unsafe fn ZSTD_updateDUBT(ms: *mut ZSTD_MatchState_t, ip: *const u8, iend: *const u8, mls: u32) {
[INFO] [stdout]     |                                                                      ^^^^ help: if this is intentional, prefix it with an underscore: `_iend`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `dictMode`
[INFO] [stdout]    --> lib/compress/zstd_lazy.rs:566:5
[INFO] [stdout]     |
[INFO] [stdout] 566 |     dictMode: ZSTD_dictMode_e,
[INFO] [stdout]     |     ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_dictMode`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `mIndex`
[INFO] [stdout]    --> lib/compress/zstd_lazy.rs:647:13
[INFO] [stdout]     |
[INFO] [stdout] 647 |         let mIndex = curr.wrapping_sub((*offsetPtr).wrapping_sub(ZSTD_REP_NUM as size_t) as u32);
[INFO] [stdout]     |             ^^^^^^ help: if this is intentional, prefix it with an underscore: `_mIndex`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `mIndex`
[INFO] [stdout]    --> lib/compress/zstd_lazy.rs:806:13
[INFO] [stdout]     |
[INFO] [stdout] 806 |         let mIndex = curr.wrapping_sub((*offBasePtr).wrapping_sub(ZSTD_REP_NUM as size_t) as u32);
[INFO] [stdout]     |             ^^^^^^ help: if this is intentional, prefix it with an underscore: `_mIndex`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `ddsLowestIndex`
[INFO] [stdout]    --> lib/compress/zstd_lazy.rs:964:9
[INFO] [stdout]     |
[INFO] [stdout] 964 |     let ddsLowestIndex = (*dms).window.dictLimit;
[INFO] [stdout]     |         ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_ddsLowestIndex`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `entry`
[INFO] [stdout]     --> lib/compress/zstd_lazy.rs:1157:13
[INFO] [stdout]      |
[INFO] [stdout] 1157 |         let entry: *const u32 = &mut *((*dms).hashTable).add(ddsIdx) as *mut u32;
[INFO] [stdout]      |             ^^^^^ help: if this is intentional, prefix it with an underscore: `_entry`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `hashTable`
[INFO] [stdout]     --> lib/compress/zstd_lazy.rs:1289:29
[INFO] [stdout]      |
[INFO] [stdout] 1289 | unsafe fn ZSTD_row_prefetch(hashTable: *const u32, tagTable: *const u8, relRow: u32, rowLog: u32) {
[INFO] [stdout]      |                             ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_hashTable`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `tagTable`
[INFO] [stdout]     --> lib/compress/zstd_lazy.rs:1289:52
[INFO] [stdout]      |
[INFO] [stdout] 1289 | unsafe fn ZSTD_row_prefetch(hashTable: *const u32, tagTable: *const u8, relRow: u32, rowLog: u32) {
[INFO] [stdout]      |                                                    ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_tagTable`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `relRow`
[INFO] [stdout]     --> lib/compress/zstd_lazy.rs:1289:73
[INFO] [stdout]      |
[INFO] [stdout] 1289 | unsafe fn ZSTD_row_prefetch(hashTable: *const u32, tagTable: *const u8, relRow: u32, rowLog: u32) {
[INFO] [stdout]      |                                                                         ^^^^^^ help: if this is intentional, prefix it with an underscore: `_relRow`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `rowEntries`
[INFO] [stdout]     --> lib/compress/zstd_lazy.rs:1447:40
[INFO] [stdout]      |
[INFO] [stdout] 1447 | unsafe fn ZSTD_row_matchMaskGroupWidth(rowEntries: u32) -> u32 {
[INFO] [stdout]      |                                        ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_rowEntries`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `wkspSize`
[INFO] [stdout]    --> lib/compress/zstd_preSplit.rs:174:5
[INFO] [stdout]     |
[INFO] [stdout] 174 |     wkspSize: size_t,
[INFO] [stdout]     |     ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_wkspSize`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `wkspSize`
[INFO] [stdout]    --> lib/compress/zstd_preSplit.rs:235:5
[INFO] [stdout]     |
[INFO] [stdout] 235 |     wkspSize: size_t,
[INFO] [stdout]     |     ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_wkspSize`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `serialState`
[INFO] [stdout]    --> lib/compress/zstdmt_compress.rs:772:5
[INFO] [stdout]     |
[INFO] [stdout] 772 |     serialState: *const SerialState,
[INFO] [stdout]     |     ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_serialState`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `cSize`
[INFO] [stdout]    --> lib/compress/zstdmt_compress.rs:783:5
[INFO] [stdout]     |
[INFO] [stdout] 783 |     cSize: size_t,
[INFO] [stdout]     |     ^^^^^ help: if this is intentional, prefix it with an underscore: `_cSize`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `openMP`
[INFO] [stdout]     --> lib/dictBuilder/divsufsort.rs:3273:5
[INFO] [stdout]      |
[INFO] [stdout] 3273 |     openMP: core::ffi::c_int,
[INFO] [stdout]      |     ^^^^^^ help: if this is intentional, prefix it with an underscore: `_openMP`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `flushEvents` is never used
[INFO] [stdout]    --> lib/compress/zstd_preSplit.rs:143:11
[INFO] [stdout]     |
[INFO] [stdout] 143 | unsafe fn flushEvents(fpstats: *mut FPStats) {
[INFO] [stdout]     |           ^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `removeEvents` is never used
[INFO] [stdout]    --> lib/compress/zstd_preSplit.rs:158:11
[INFO] [stdout]     |
[INFO] [stdout] 158 | unsafe fn removeEvents(acc: *mut Fingerprint, slice: *const Fingerprint) {
[INFO] [stdout]     |           ^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused comparison that must be used
[INFO] [stdout]     --> lib/compress/zstd_compress.rs:1061:9
[INFO] [stdout]      |
[INFO] [stdout] 1061 |         *loadedDictEndPtr != 0;
[INFO] [stdout]      |         ^^^^^^^^^^^^^^^^^^^^^^ the comparison produces a value
[INFO] [stdout]      |
[INFO] [stdout]      = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]      |
[INFO] [stdout] 1061 |         let _ = *loadedDictEndPtr != 0;
[INFO] [stdout]      |         +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused comparison that must be used
[INFO] [stdout]     --> lib/compress/zstd_compress.rs:4013:5
[INFO] [stdout]      |
[INFO] [stdout] 4013 |     buffered != 0;
[INFO] [stdout]      |     ^^^^^^^^^^^^^ the comparison produces a value
[INFO] [stdout]      |
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]      |
[INFO] [stdout] 4013 |     let _ = buffered != 0;
[INFO] [stdout]      |     +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused return value of `std::mem::size_of` that must be used
[INFO] [stdout]     --> lib/compress/zstd_compress.rs:5498:5
[INFO] [stdout]      |
[INFO] [stdout] 5498 |     ::core::mem::size_of::<ptrdiff_t>();
[INFO] [stdout]      |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]      |
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]      |
[INFO] [stdout] 5498 |     let _ = ::core::mem::size_of::<ptrdiff_t>();
[INFO] [stdout]      |     +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused comparison that must be used
[INFO] [stdout]     --> lib/compress/zstd_compress.rs:7468:9
[INFO] [stdout]      |
[INFO] [stdout] 7468 |         loadLdmDict != 0;
[INFO] [stdout]      |         ^^^^^^^^^^^^^^^^ the comparison produces a value
[INFO] [stdout]      |
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]      |
[INFO] [stdout] 7468 |         let _ = loadLdmDict != 0;
[INFO] [stdout]      |         +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused comparison that must be used
[INFO] [stdout]     --> lib/compress/zstd_compress.rs:9803:5
[INFO] [stdout]      |
[INFO] [stdout] 9803 | /     (*zcs).appliedParams.inBufferMode as core::ffi::c_uint
[INFO] [stdout] 9804 | |         == ZSTD_bm_buffered as core::ffi::c_int as core::ffi::c_uint;
[INFO] [stdout]      | |____________________________________________________________________^ the comparison produces a value
[INFO] [stdout]      |
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]      |
[INFO] [stdout] 9803 |     let _ = (*zcs).appliedParams.inBufferMode as core::ffi::c_uint
[INFO] [stdout]      |     +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused comparison that must be used
[INFO] [stdout]     --> lib/compress/zstd_compress.rs:9805:5
[INFO] [stdout]      |
[INFO] [stdout] 9805 | /     (*zcs).appliedParams.outBufferMode as core::ffi::c_uint
[INFO] [stdout] 9806 | |         == ZSTD_bm_buffered as core::ffi::c_int as core::ffi::c_uint;
[INFO] [stdout]      | |____________________________________________________________________^ the comparison produces a value
[INFO] [stdout]      |
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]      |
[INFO] [stdout] 9805 |     let _ = (*zcs).appliedParams.outBufferMode as core::ffi::c_uint
[INFO] [stdout]      |     +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused comparison that must be used
[INFO] [stdout]     --> lib/compress/zstd_compress.rs:9948:33
[INFO] [stdout]      |
[INFO] [stdout] 9948 | ...                   lastBlock == 0;
[INFO] [stdout]      |                       ^^^^^^^^^^^^^^ the comparison produces a value
[INFO] [stdout]      |
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]      |
[INFO] [stdout] 9948 |                                 let _ = lastBlock == 0;
[INFO] [stdout]      |                                 +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused comparison that must be used
[INFO] [stdout]     --> lib/compress/zstd_compress.rs:9981:33
[INFO] [stdout]      |
[INFO] [stdout] 9981 | ...                   lastBlock_0 != 0;
[INFO] [stdout]      |                       ^^^^^^^^^^^^^^^^ the comparison produces a value
[INFO] [stdout]      |
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]      |
[INFO] [stdout] 9981 |                                 let _ = lastBlock_0 != 0;
[INFO] [stdout]      |                                 +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused comparison that must be used
[INFO] [stdout]    --> lib/compress/zstd_compress_literals.rs:280:13
[INFO] [stdout]     |
[INFO] [stdout] 280 |             singleStream == 0;
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^^^ the comparison produces a value
[INFO] [stdout]     |
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 280 |             let _ = singleStream == 0;
[INFO] [stdout]     |             +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused comparison that must be used
[INFO] [stdout]    --> lib/compress/zstd_compress_sequences.rs:223:9
[INFO] [stdout]     |
[INFO] [stdout] 223 |         isDefaultAllowed as u64 != 0;
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the comparison produces a value
[INFO] [stdout]     |
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 223 |         let _ = isDefaultAllowed as u64 != 0;
[INFO] [stdout]     |         +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused comparison that must be used
[INFO] [stdout]    --> lib/compress/zstd_compress_superblock.rs:489:5
[INFO] [stdout]     |
[INFO] [stdout] 489 |     lastSubBlock == 0;
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^ the comparison produces a value
[INFO] [stdout]     |
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 489 |     let _ = lastSubBlock == 0;
[INFO] [stdout]     |     +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused comparison that must be used
[INFO] [stdout]    --> lib/compress/zstd_lazy.rs:430:5
[INFO] [stdout]     |
[INFO] [stdout] 430 |     idx != target;
[INFO] [stdout]     |     ^^^^^^^^^^^^^ the comparison produces a value
[INFO] [stdout]     |
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 430 |     let _ = idx != target;
[INFO] [stdout]     |     +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused return value of `std::ptr::mut_ptr::<impl *mut T>::offset` that must be used
[INFO] [stdout]    --> lib/compress/zstd_lazy.rs:984:5
[INFO] [stdout]     |
[INFO] [stdout] 984 |     ((*dms).chainTable).offset(chainIndex as isize);
[INFO] [stdout]     |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: returns a new pointer rather than modifying its argument
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 984 |     let _ = ((*dms).chainTable).offset(chainIndex as isize);
[INFO] [stdout]     |     +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused comparison that must be used
[INFO] [stdout]     --> lib/compress/zstd_lazy.rs:1290:5
[INFO] [stdout]      |
[INFO] [stdout] 1290 |     rowLog >= 5;
[INFO] [stdout]      |     ^^^^^^^^^^^ the comparison produces a value
[INFO] [stdout]      |
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]      |
[INFO] [stdout] 1290 |     let _ = rowLog >= 5;
[INFO] [stdout]      |     +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused comparison that must be used
[INFO] [stdout]     --> lib/compress/zstd_lazy.rs:1291:5
[INFO] [stdout]      |
[INFO] [stdout] 1291 |     rowLog == 6;
[INFO] [stdout]      |     ^^^^^^^^^^^ the comparison produces a value
[INFO] [stdout]      |
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]      |
[INFO] [stdout] 1291 |     let _ = rowLog == 6;
[INFO] [stdout]      |     +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused return value of `std::ptr::mut_ptr::<impl *mut T>::add` that must be used
[INFO] [stdout]     --> lib/compress/zstd_lazy.rs:1628:9
[INFO] [stdout]      |
[INFO] [stdout] 1628 |         ((*dms).hashTable).add(ddsIdx);
[INFO] [stdout]      |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]      |
[INFO] [stdout]      = note: returns a new pointer rather than modifying its argument
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]      |
[INFO] [stdout] 1628 |         let _ = ((*dms).hashTable).add(ddsIdx);
[INFO] [stdout]      |         +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused comparison that must be used
[INFO] [stdout]     --> lib/compress/zstd_lazy.rs:1685:17
[INFO] [stdout]      |
[INFO] [stdout] 1685 |                 matchIndex >= dictLimit;
[INFO] [stdout]      |                 ^^^^^^^^^^^^^^^^^^^^^^^ the comparison produces a value
[INFO] [stdout]      |
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]      |
[INFO] [stdout] 1685 |                 let _ = matchIndex >= dictLimit;
[INFO] [stdout]      |                 +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused comparison that must be used
[INFO] [stdout]     --> lib/compress/zstd_lazy.rs:2796:5
[INFO] [stdout]      |
[INFO] [stdout] 2796 |     isDxS != 0;
[INFO] [stdout]      |     ^^^^^^^^^^ the comparison produces a value
[INFO] [stdout]      |
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]      |
[INFO] [stdout] 2796 |     let _ = isDxS != 0;
[INFO] [stdout]      |     +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused comparison that must be used
[INFO] [stdout]     --> lib/compress/zstd_opt.rs:1286:13
[INFO] [stdout]      |
[INFO] [stdout] 1286 |             matchIndex >= dictLimit;
[INFO] [stdout]      |             ^^^^^^^^^^^^^^^^^^^^^^^ the comparison produces a value
[INFO] [stdout]      |
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]      |
[INFO] [stdout] 1286 |             let _ = matchIndex >= dictLimit;
[INFO] [stdout]      |             +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused return value of `std::mem::size_of` that must be used
[INFO] [stdout]    --> lib/compress/zstdmt_compress.rs:962:37
[INFO] [stdout]     |
[INFO] [stdout] 962 | ...                   ::core::mem::size_of::<size_t>();
[INFO] [stdout]     |                       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 962 |                                     let _ = ::core::mem::size_of::<size_t>();
[INFO] [stdout]     |                                     +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused return value of `std::mem::size_of` that must be used
[INFO] [stdout]    --> lib/compress/zstdmt_compress.rs:963:37
[INFO] [stdout]     |
[INFO] [stdout] 963 | ...                   ::core::mem::size_of::<core::ffi::c_int>();
[INFO] [stdout]     |                       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]     |
[INFO] [stdout] 963 |                                     let _ = ::core::mem::size_of::<core::ffi::c_int>();
[INFO] [stdout]     |                                     +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused comparison that must be used
[INFO] [stdout]     --> lib/compress/zstdmt_compress.rs:1048:53
[INFO] [stdout]      |
[INFO] [stdout] 1048 | ...                   (*job).firstJob == 0;
[INFO] [stdout]      |                       ^^^^^^^^^^^^^^^^^^^^ the comparison produces a value
[INFO] [stdout]      |
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]      |
[INFO] [stdout] 1048 |                                                     let _ = (*job).firstJob == 0;
[INFO] [stdout]      |                                                     +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused comparison that must be used
[INFO] [stdout]     --> lib/compress/zstdmt_compress.rs:1063:5
[INFO] [stdout]      |
[INFO] [stdout] 1063 |     (*job).prefix.size > 0;
[INFO] [stdout]      |     ^^^^^^^^^^^^^^^^^^^^^^ the comparison produces a value
[INFO] [stdout]      |
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]      |
[INFO] [stdout] 1063 |     let _ = (*job).prefix.size > 0;
[INFO] [stdout]      |     +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused comparison that must be used
[INFO] [stdout]     --> lib/compress/zstdmt_compress.rs:1431:5
[INFO] [stdout]      |
[INFO] [stdout] 1431 |     toFlush == 0;
[INFO] [stdout]      |     ^^^^^^^^^^^^ the comparison produces a value
[INFO] [stdout]      |
[INFO] [stdout] help: use `let _ = ...` to ignore the resulting value
[INFO] [stdout]      |
[INFO] [stdout] 1431 |     let _ = toFlush == 0;
[INFO] [stdout]      |     +++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 1m 01s
[INFO] running `Command { std: "docker" "inspect" "9e3fb89f320b24828e38d425bb31c18cebdadb994177d0a805ebf2024ea6f80f", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "9e3fb89f320b24828e38d425bb31c18cebdadb994177d0a805ebf2024ea6f80f", kill_on_drop: false }`
[INFO] [stdout] 9e3fb89f320b24828e38d425bb31c18cebdadb994177d0a805ebf2024ea6f80f
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+1f7f8ea0721a3b1eb73e6c6d25cccb371434b320" "test" "--frozen", kill_on_drop: false }`
[INFO] [stdout] a5d6b2bd7bf106e310b3643757e17b29006f1d6bf2e1e058ef113b6c239e5bec
[INFO] running `Command { std: "docker" "start" "-a" "a5d6b2bd7bf106e310b3643757e17b29006f1d6bf2e1e058ef113b6c239e5bec", kill_on_drop: false }`
[INFO] [stderr] warning: unreachable expression
[INFO] [stderr]     --> lib/compress/zstd_lazy.rs:2689:5
[INFO] [stderr]      |
[INFO] [stderr] 2688 |     unreachable!();
[INFO] [stderr]      |     -------------- any code following this expression is unreachable
[INFO] [stderr] 2689 |     0
[INFO] [stderr]      |     ^ unreachable expression
[INFO] [stderr]      |
[INFO] [stderr]      = note: `#[warn(unreachable_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `ws`
[INFO] [stderr]     --> lib/compress/zstd_compress.rs:1214:50
[INFO] [stderr]      |
[INFO] [stderr] 1214 | unsafe fn ZSTD_cwksp_assert_internal_consistency(ws: *mut ZSTD_cwksp) {}
[INFO] [stderr]      |                                                  ^^ help: if this is intentional, prefix it with an underscore: `_ws`
[INFO] [stderr]      |
[INFO] [stderr]      = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `err`
[INFO] [stderr]     --> lib/compress/zstd_compress.rs:1895:9
[INFO] [stderr]      |
[INFO] [stderr] 1895 |     let err = ZSTD_CCtx_reset(cctx, ZSTD_reset_parameters);
[INFO] [stderr]      |         ^^^ help: if this is intentional, prefix it with an underscore: `_err`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `cParams1`
[INFO] [stderr]     --> lib/compress/zstd_compress.rs:4030:5
[INFO] [stderr]      |
[INFO] [stderr] 4030 |     cParams1: ZSTD_compressionParameters,
[INFO] [stderr]      |     ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_cParams1`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `cParams2`
[INFO] [stderr]     --> lib/compress/zstd_compress.rs:4031:5
[INFO] [stderr]      |
[INFO] [stderr] 4031 |     cParams2: ZSTD_compressionParameters,
[INFO] [stderr]      |     ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_cParams2`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `seqStore`
[INFO] [stderr]     --> lib/compress/zstd_compress.rs:5462:5
[INFO] [stderr]      |
[INFO] [stderr] 5462 |     seqStore: *const SeqStore_t,
[INFO] [stderr]      |     ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_seqStore`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `cParams`
[INFO] [stderr]     --> lib/compress/zstd_compress.rs:5463:5
[INFO] [stderr]      |
[INFO] [stderr] 5463 |     cParams: *const ZSTD_compressionParameters,
[INFO] [stderr]      |     ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_cParams`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `defaultMax`
[INFO] [stderr]     --> lib/compress/zstd_compress.rs:6169:5
[INFO] [stderr]      |
[INFO] [stderr] 6169 |     defaultMax: u32,
[INFO] [stderr]      |     ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_defaultMax`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `endOp`
[INFO] [stderr]      --> lib/compress/zstd_compress.rs:10078:5
[INFO] [stderr]       |
[INFO] [stderr] 10078 |     endOp: ZSTD_EndDirective,
[INFO] [stderr]       |     ^^^^^ help: if this is intentional, prefix it with an underscore: `_endOp`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `externalRepSearch`
[INFO] [stderr]      --> lib/compress/zstd_compress.rs:10578:5
[INFO] [stderr]       |
[INFO] [stderr] 10578 |     externalRepSearch: ZSTD_ParamSwitch_e,
[INFO] [stderr]       |     ^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_externalRepSearch`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `dstCapacity`
[INFO] [stderr]   --> lib/compress/zstd_compress_literals.rs:99:5
[INFO] [stderr]    |
[INFO] [stderr] 99 |     dstCapacity: size_t,
[INFO] [stderr]    |     ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_dstCapacity`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `hasStep`
[INFO] [stderr]    --> lib/compress/zstd_fast.rs:837:5
[INFO] [stderr]     |
[INFO] [stderr] 837 |     hasStep: u32,
[INFO] [stderr]     |     ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_hasStep`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `maxDistance`
[INFO] [stderr]    --> lib/compress/zstd_fast.rs:869:9
[INFO] [stderr]     |
[INFO] [stderr] 869 |     let maxDistance = (1) << (*cParams).windowLog;
[INFO] [stderr]     |         ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_maxDistance`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `endIndex`
[INFO] [stderr]    --> lib/compress/zstd_fast.rs:870:9
[INFO] [stderr]     |
[INFO] [stderr] 870 |     let endIndex = (istart.offset_from(base) as size_t).wrapping_add(srcSize) as u32;
[INFO] [stderr]     |         ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_endIndex`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `hasStep`
[INFO] [stderr]     --> lib/compress/zstd_fast.rs:1141:5
[INFO] [stderr]      |
[INFO] [stderr] 1141 |     hasStep: u32,
[INFO] [stderr]      |     ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_hasStep`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `iend`
[INFO] [stderr]    --> lib/compress/zstd_lazy.rs:420:70
[INFO] [stderr]     |
[INFO] [stderr] 420 | unsafe fn ZSTD_updateDUBT(ms: *mut ZSTD_MatchState_t, ip: *const u8, iend: *const u8, mls: u32) {
[INFO] [stderr]     |                                                                      ^^^^ help: if this is intentional, prefix it with an underscore: `_iend`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `dictMode`
[INFO] [stderr]    --> lib/compress/zstd_lazy.rs:566:5
[INFO] [stderr]     |
[INFO] [stderr] 566 |     dictMode: ZSTD_dictMode_e,
[INFO] [stderr]     |     ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_dictMode`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `mIndex`
[INFO] [stderr]    --> lib/compress/zstd_lazy.rs:647:13
[INFO] [stderr]     |
[INFO] [stderr] 647 |         let mIndex = curr.wrapping_sub((*offsetPtr).wrapping_sub(ZSTD_REP_NUM as size_t) as u32);
[INFO] [stderr]     |             ^^^^^^ help: if this is intentional, prefix it with an underscore: `_mIndex`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `mIndex`
[INFO] [stderr]    --> lib/compress/zstd_lazy.rs:806:13
[INFO] [stderr]     |
[INFO] [stderr] 806 |         let mIndex = curr.wrapping_sub((*offBasePtr).wrapping_sub(ZSTD_REP_NUM as size_t) as u32);
[INFO] [stderr]     |             ^^^^^^ help: if this is intentional, prefix it with an underscore: `_mIndex`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `ddsLowestIndex`
[INFO] [stderr]    --> lib/compress/zstd_lazy.rs:964:9
[INFO] [stderr]     |
[INFO] [stderr] 964 |     let ddsLowestIndex = (*dms).window.dictLimit;
[INFO] [stderr]     |         ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_ddsLowestIndex`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `entry`
[INFO] [stderr]     --> lib/compress/zstd_lazy.rs:1157:13
[INFO] [stderr]      |
[INFO] [stderr] 1157 |         let entry: *const u32 = &mut *((*dms).hashTable).add(ddsIdx) as *mut u32;
[INFO] [stderr]      |             ^^^^^ help: if this is intentional, prefix it with an underscore: `_entry`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `hashTable`
[INFO] [stderr]     --> lib/compress/zstd_lazy.rs:1289:29
[INFO] [stderr]      |
[INFO] [stderr] 1289 | unsafe fn ZSTD_row_prefetch(hashTable: *const u32, tagTable: *const u8, relRow: u32, rowLog: u32) {
[INFO] [stderr]      |                             ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_hashTable`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `tagTable`
[INFO] [stderr]     --> lib/compress/zstd_lazy.rs:1289:52
[INFO] [stderr]      |
[INFO] [stderr] 1289 | unsafe fn ZSTD_row_prefetch(hashTable: *const u32, tagTable: *const u8, relRow: u32, rowLog: u32) {
[INFO] [stderr]      |                                                    ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_tagTable`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `relRow`
[INFO] [stderr]     --> lib/compress/zstd_lazy.rs:1289:73
[INFO] [stderr]      |
[INFO] [stderr] 1289 | unsafe fn ZSTD_row_prefetch(hashTable: *const u32, tagTable: *const u8, relRow: u32, rowLog: u32) {
[INFO] [stderr]      |                                                                         ^^^^^^ help: if this is intentional, prefix it with an underscore: `_relRow`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `rowEntries`
[INFO] [stderr]     --> lib/compress/zstd_lazy.rs:1447:40
[INFO] [stderr]      |
[INFO] [stderr] 1447 | unsafe fn ZSTD_row_matchMaskGroupWidth(rowEntries: u32) -> u32 {
[INFO] [stderr]      |                                        ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_rowEntries`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `wkspSize`
[INFO] [stderr]    --> lib/compress/zstd_preSplit.rs:174:5
[INFO] [stderr]     |
[INFO] [stderr] 174 |     wkspSize: size_t,
[INFO] [stderr]     |     ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_wkspSize`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `wkspSize`
[INFO] [stderr]    --> lib/compress/zstd_preSplit.rs:235:5
[INFO] [stderr]     |
[INFO] [stderr] 235 |     wkspSize: size_t,
[INFO] [stderr]     |     ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_wkspSize`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `serialState`
[INFO] [stderr]    --> lib/compress/zstdmt_compress.rs:772:5
[INFO] [stderr]     |
[INFO] [stderr] 772 |     serialState: *const SerialState,
[INFO] [stderr]     |     ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_serialState`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `cSize`
[INFO] [stderr]    --> lib/compress/zstdmt_compress.rs:783:5
[INFO] [stderr]     |
[INFO] [stderr] 783 |     cSize: size_t,
[INFO] [stderr]     |     ^^^^^ help: if this is intentional, prefix it with an underscore: `_cSize`
[INFO] [stderr] 
[INFO] [stderr] warning: unused variable: `openMP`
[INFO] [stderr]     --> lib/dictBuilder/divsufsort.rs:3273:5
[INFO] [stderr]      |
[INFO] [stderr] 3273 |     openMP: core::ffi::c_int,
[INFO] [stderr]      |     ^^^^^^ help: if this is intentional, prefix it with an underscore: `_openMP`
[INFO] [stderr] 
[INFO] [stderr] warning: function `flushEvents` is never used
[INFO] [stderr]    --> lib/compress/zstd_preSplit.rs:143:11
[INFO] [stderr]     |
[INFO] [stderr] 143 | unsafe fn flushEvents(fpstats: *mut FPStats) {
[INFO] [stderr]     |           ^^^^^^^^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: function `removeEvents` is never used
[INFO] [stderr]    --> lib/compress/zstd_preSplit.rs:158:11
[INFO] [stderr]     |
[INFO] [stderr] 158 | unsafe fn removeEvents(acc: *mut Fingerprint, slice: *const Fingerprint) {
[INFO] [stderr]     |           ^^^^^^^^^^^^
[INFO] [stderr] 
[INFO] [stderr] warning: unused comparison that must be used
[INFO] [stderr]     --> lib/compress/zstd_compress.rs:1061:9
[INFO] [stderr]      |
[INFO] [stderr] 1061 |         *loadedDictEndPtr != 0;
[INFO] [stderr]      |         ^^^^^^^^^^^^^^^^^^^^^^ the comparison produces a value
[INFO] [stderr]      |
[INFO] [stderr]      = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default
[INFO] [stderr] help: use `let _ = ...` to ignore the resulting value
[INFO] [stderr]      |
[INFO] [stderr] 1061 |         let _ = *loadedDictEndPtr != 0;
[INFO] [stderr]      |         +++++++
[INFO] [stderr] 
[INFO] [stderr] warning: unused comparison that must be used
[INFO] [stderr]     --> lib/compress/zstd_compress.rs:4013:5
[INFO] [stderr]      |
[INFO] [stderr] 4013 |     buffered != 0;
[INFO] [stderr]      |     ^^^^^^^^^^^^^ the comparison produces a value
[INFO] [stderr]      |
[INFO] [stderr] help: use `let _ = ...` to ignore the resulting value
[INFO] [stderr]      |
[INFO] [stderr] 4013 |     let _ = buffered != 0;
[INFO] [stderr]      |     +++++++
[INFO] [stderr] 
[INFO] [stderr] warning: unused return value of `std::mem::size_of` that must be used
[INFO] [stderr]     --> lib/compress/zstd_compress.rs:5498:5
[INFO] [stderr]      |
[INFO] [stderr] 5498 |     ::core::mem::size_of::<ptrdiff_t>();
[INFO] [stderr]      |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]      |
[INFO] [stderr] help: use `let _ = ...` to ignore the resulting value
[INFO] [stderr]      |
[INFO] [stderr] 5498 |     let _ = ::core::mem::size_of::<ptrdiff_t>();
[INFO] [stderr]      |     +++++++
[INFO] [stderr] 
[INFO] [stderr] warning: unused comparison that must be used
[INFO] [stderr]     --> lib/compress/zstd_compress.rs:7468:9
[INFO] [stderr]      |
[INFO] [stderr] 7468 |         loadLdmDict != 0;
[INFO] [stderr]      |         ^^^^^^^^^^^^^^^^ the comparison produces a value
[INFO] [stderr]      |
[INFO] [stderr] help: use `let _ = ...` to ignore the resulting value
[INFO] [stderr]      |
[INFO] [stderr] 7468 |         let _ = loadLdmDict != 0;
[INFO] [stderr]      |         +++++++
[INFO] [stderr] 
[INFO] [stderr] warning: unused comparison that must be used
[INFO] [stderr]     --> lib/compress/zstd_compress.rs:9803:5
[INFO] [stderr]      |
[INFO] [stderr] 9803 | /     (*zcs).appliedParams.inBufferMode as core::ffi::c_uint
[INFO] [stderr] 9804 | |         == ZSTD_bm_buffered as core::ffi::c_int as core::ffi::c_uint;
[INFO] [stderr]      | |____________________________________________________________________^ the comparison produces a value
[INFO] [stderr]      |
[INFO] [stderr] help: use `let _ = ...` to ignore the resulting value
[INFO] [stderr]      |
[INFO] [stderr] 9803 |     let _ = (*zcs).appliedParams.inBufferMode as core::ffi::c_uint
[INFO] [stderr]      |     +++++++
[INFO] [stderr] 
[INFO] [stderr] warning: unused comparison that must be used
[INFO] [stderr]     --> lib/compress/zstd_compress.rs:9805:5
[INFO] [stderr]      |
[INFO] [stderr] 9805 | /     (*zcs).appliedParams.outBufferMode as core::ffi::c_uint
[INFO] [stderr] 9806 | |         == ZSTD_bm_buffered as core::ffi::c_int as core::ffi::c_uint;
[INFO] [stderr]      | |____________________________________________________________________^ the comparison produces a value
[INFO] [stderr]      |
[INFO] [stderr] help: use `let _ = ...` to ignore the resulting value
[INFO] [stderr]      |
[INFO] [stderr] 9805 |     let _ = (*zcs).appliedParams.outBufferMode as core::ffi::c_uint
[INFO] [stderr]      |     +++++++
[INFO] [stderr] 
[INFO] [stderr] warning: unused comparison that must be used
[INFO] [stderr]     --> lib/compress/zstd_compress.rs:9948:33
[INFO] [stderr]      |
[INFO] [stderr] 9948 | ...                   lastBlock == 0;
[INFO] [stderr]      |                       ^^^^^^^^^^^^^^ the comparison produces a value
[INFO] [stderr]      |
[INFO] [stderr] help: use `let _ = ...` to ignore the resulting value
[INFO] [stderr]      |
[INFO] [stderr] 9948 |                                 let _ = lastBlock == 0;
[INFO] [stderr]      |                                 +++++++
[INFO] [stderr] 
[INFO] [stderr] warning: unused comparison that must be used
[INFO] [stderr]     --> lib/compress/zstd_compress.rs:9981:33
[INFO] [stderr]      |
[INFO] [stderr] 9981 | ...                   lastBlock_0 != 0;
[INFO] [stderr]      |                       ^^^^^^^^^^^^^^^^ the comparison produces a value
[INFO] [stderr]      |
[INFO] [stderr] help: use `let _ = ...` to ignore the resulting value
[INFO] [stderr]      |
[INFO] [stderr] 9981 |                                 let _ = lastBlock_0 != 0;
[INFO] [stderr]      |                                 +++++++
[INFO] [stderr] 
[INFO] [stderr] warning: unused comparison that must be used
[INFO] [stderr]    --> lib/compress/zstd_compress_literals.rs:280:13
[INFO] [stderr]     |
[INFO] [stderr] 280 |             singleStream == 0;
[INFO] [stderr]     |             ^^^^^^^^^^^^^^^^^ the comparison produces a value
[INFO] [stderr]     |
[INFO] [stderr] help: use `let _ = ...` to ignore the resulting value
[INFO] [stderr]     |
[INFO] [stderr] 280 |             let _ = singleStream == 0;
[INFO] [stderr]     |             +++++++
[INFO] [stderr] 
[INFO] [stderr] warning: unused comparison that must be used
[INFO] [stderr]    --> lib/compress/zstd_compress_sequences.rs:223:9
[INFO] [stderr]     |
[INFO] [stderr] 223 |         isDefaultAllowed as u64 != 0;
[INFO] [stderr]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the comparison produces a value
[INFO] [stderr]     |
[INFO] [stderr] help: use `let _ = ...` to ignore the resulting value
[INFO] [stderr]     |
[INFO] [stderr] 223 |         let _ = isDefaultAllowed as u64 != 0;
[INFO] [stderr]     |         +++++++
[INFO] [stderr] 
[INFO] [stderr] warning: unused comparison that must be used
[INFO] [stderr]    --> lib/compress/zstd_compress_superblock.rs:489:5
[INFO] [stderr]     |
[INFO] [stderr] 489 |     lastSubBlock == 0;
[INFO] [stderr]     |     ^^^^^^^^^^^^^^^^^ the comparison produces a value
[INFO] [stderr]     |
[INFO] [stderr] help: use `let _ = ...` to ignore the resulting value
[INFO] [stderr]     |
[INFO] [stderr] 489 |     let _ = lastSubBlock == 0;
[INFO] [stderr]     |     +++++++
[INFO] [stderr] 
[INFO] [stderr] warning: unused comparison that must be used
[INFO] [stderr]    --> lib/compress/zstd_lazy.rs:430:5
[INFO] [stderr]     |
[INFO] [stderr] 430 |     idx != target;
[INFO] [stderr]     |     ^^^^^^^^^^^^^ the comparison produces a value
[INFO] [stderr]     |
[INFO] [stderr] help: use `let _ = ...` to ignore the resulting value
[INFO] [stderr]     |
[INFO] [stderr] 430 |     let _ = idx != target;
[INFO] [stderr]     |     +++++++
[INFO] [stderr] 
[INFO] [stderr] warning: unused return value of `std::ptr::mut_ptr::<impl *mut T>::offset` that must be used
[INFO] [stderr]    --> lib/compress/zstd_lazy.rs:984:5
[INFO] [stderr]     |
[INFO] [stderr] 984 |     ((*dms).chainTable).offset(chainIndex as isize);
[INFO] [stderr]     |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = note: returns a new pointer rather than modifying its argument
[INFO] [stderr] help: use `let _ = ...` to ignore the resulting value
[INFO] [stderr]     |
[INFO] [stderr] 984 |     let _ = ((*dms).chainTable).offset(chainIndex as isize);
[INFO] [stderr]     |     +++++++
[INFO] [stderr] 
[INFO] [stderr] warning: unused comparison that must be used
[INFO] [stderr]     --> lib/compress/zstd_lazy.rs:1290:5
[INFO] [stderr]      |
[INFO] [stderr] 1290 |     rowLog >= 5;
[INFO] [stderr]      |     ^^^^^^^^^^^ the comparison produces a value
[INFO] [stderr]      |
[INFO] [stderr] help: use `let _ = ...` to ignore the resulting value
[INFO] [stderr]      |
[INFO] [stderr] 1290 |     let _ = rowLog >= 5;
[INFO] [stderr]      |     +++++++
[INFO] [stderr] 
[INFO] [stderr] warning: unused comparison that must be used
[INFO] [stderr]     --> lib/compress/zstd_lazy.rs:1291:5
[INFO] [stderr]      |
[INFO] [stderr] 1291 |     rowLog == 6;
[INFO] [stderr]      |     ^^^^^^^^^^^ the comparison produces a value
[INFO] [stderr]      |
[INFO] [stderr] help: use `let _ = ...` to ignore the resulting value
[INFO] [stderr]      |
[INFO] [stderr] 1291 |     let _ = rowLog == 6;
[INFO] [stderr]      |     +++++++
[INFO] [stderr] 
[INFO] [stderr] warning: unused return value of `std::ptr::mut_ptr::<impl *mut T>::add` that must be used
[INFO] [stderr]     --> lib/compress/zstd_lazy.rs:1628:9
[INFO] [stderr]      |
[INFO] [stderr] 1628 |         ((*dms).hashTable).add(ddsIdx);
[INFO] [stderr]      |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]      |
[INFO] [stderr]      = note: returns a new pointer rather than modifying its argument
[INFO] [stderr] help: use `let _ = ...` to ignore the resulting value
[INFO] [stderr]      |
[INFO] [stderr] 1628 |         let _ = ((*dms).hashTable).add(ddsIdx);
[INFO] [stderr]      |         +++++++
[INFO] [stderr] 
[INFO] [stderr] warning: unused comparison that must be used
[INFO] [stderr]     --> lib/compress/zstd_lazy.rs:1685:17
[INFO] [stderr]      |
[INFO] [stderr] 1685 |                 matchIndex >= dictLimit;
[INFO] [stderr]      |                 ^^^^^^^^^^^^^^^^^^^^^^^ the comparison produces a value
[INFO] [stderr]      |
[INFO] [stderr] help: use `let _ = ...` to ignore the resulting value
[INFO] [stderr]      |
[INFO] [stderr] 1685 |                 let _ = matchIndex >= dictLimit;
[INFO] [stderr]      |                 +++++++
[INFO] [stderr] 
[INFO] [stderr] warning: unused comparison that must be used
[INFO] [stderr]     --> lib/compress/zstd_lazy.rs:2796:5
[INFO] [stderr]      |
[INFO] [stderr] 2796 |     isDxS != 0;
[INFO] [stderr]      |     ^^^^^^^^^^ the comparison produces a value
[INFO] [stderr]      |
[INFO] [stderr] help: use `let _ = ...` to ignore the resulting value
[INFO] [stderr]      |
[INFO] [stderr] 2796 |     let _ = isDxS != 0;
[INFO] [stderr]      |     +++++++
[INFO] [stderr] 
[INFO] [stderr] warning: unused comparison that must be used
[INFO] [stderr]     --> lib/compress/zstd_opt.rs:1286:13
[INFO] [stderr]      |
[INFO] [stderr] 1286 |             matchIndex >= dictLimit;
[INFO] [stderr]      |             ^^^^^^^^^^^^^^^^^^^^^^^ the comparison produces a value
[INFO] [stderr]      |
[INFO] [stderr] help: use `let _ = ...` to ignore the resulting value
[INFO] [stderr]      |
[INFO] [stderr] 1286 |             let _ = matchIndex >= dictLimit;
[INFO] [stderr]      |             +++++++
[INFO] [stderr] 
[INFO] [stderr] warning: unused return value of `std::mem::size_of` that must be used
[INFO] [stderr]    --> lib/compress/zstdmt_compress.rs:962:37
[INFO] [stderr]     |
[INFO] [stderr] 962 | ...                   ::core::mem::size_of::<size_t>();
[INFO] [stderr]     |                       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]     |
[INFO] [stderr] help: use `let _ = ...` to ignore the resulting value
[INFO] [stderr]     |
[INFO] [stderr] 962 |                                     let _ = ::core::mem::size_of::<size_t>();
[INFO] [stderr]     |                                     +++++++
[INFO] [stderr] 
[INFO] [stderr] warning: unused return value of `std::mem::size_of` that must be used
[INFO] [stderr]    --> lib/compress/zstdmt_compress.rs:963:37
[INFO] [stderr]     |
[INFO] [stderr] 963 | ...                   ::core::mem::size_of::<core::ffi::c_int>();
[INFO] [stderr]     |                       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stderr]     |
[INFO] [stderr] help: use `let _ = ...` to ignore the resulting value
[INFO] [stderr]     |
[INFO] [stderr] 963 |                                     let _ = ::core::mem::size_of::<core::ffi::c_int>();
[INFO] [stderr]     |                                     +++++++
[INFO] [stderr] 
[INFO] [stderr] warning: unused comparison that must be used
[INFO] [stderr]     --> lib/compress/zstdmt_compress.rs:1048:53
[INFO] [stderr]      |
[INFO] [stderr] 1048 | ...                   (*job).firstJob == 0;
[INFO] [stderr]      |                       ^^^^^^^^^^^^^^^^^^^^ the comparison produces a value
[INFO] [stderr]      |
[INFO] [stderr] help: use `let _ = ...` to ignore the resulting value
[INFO] [stderr]      |
[INFO] [stderr] 1048 |                                                     let _ = (*job).firstJob == 0;
[INFO] [stderr]      |                                                     +++++++
[INFO] [stderr] 
[INFO] [stderr] warning: unused comparison that must be used
[INFO] [stderr]     --> lib/compress/zstdmt_compress.rs:1063:5
[INFO] [stderr]      |
[INFO] [stderr] 1063 |     (*job).prefix.size > 0;
[INFO] [stderr]      |     ^^^^^^^^^^^^^^^^^^^^^^ the comparison produces a value
[INFO] [stderr]      |
[INFO] [stderr] help: use `let _ = ...` to ignore the resulting value
[INFO] [stderr]      |
[INFO] [stderr] 1063 |     let _ = (*job).prefix.size > 0;
[INFO] [stderr]      |     +++++++
[INFO] [stderr] 
[INFO] [stderr] warning: unused comparison that must be used
[INFO] [stderr]     --> lib/compress/zstdmt_compress.rs:1431:5
[INFO] [stderr]      |
[INFO] [stderr] 1431 |     toFlush == 0;
[INFO] [stderr]      |     ^^^^^^^^^^^^ the comparison produces a value
[INFO] [stderr]      |
[INFO] [stderr] help: use `let _ = ...` to ignore the resulting value
[INFO] [stderr]      |
[INFO] [stderr] 1431 |     let _ = toFlush == 0;
[INFO] [stderr]      |     +++++++
[INFO] [stderr] 
[INFO] [stderr] warning: `libzstd-rs-sys` (lib) generated 56 warnings (run `cargo fix --lib -p libzstd-rs-sys` to apply 29 suggestions)
[INFO] [stderr] warning: direct cast of function item into an integer
[INFO] [stderr]    --> programs/fileio.rs:431:35
[INFO] [stderr]     |
[INFO] [stderr] 431 |         signal(SIGINT, INThandler as sighandler_t);
[INFO] [stderr]     |                                   ^^^^^^^^^^^^^^^
[INFO] [stderr]     |
[INFO] [stderr]     = note: `#[warn(function_casts_as_integer)]` on by default
[INFO] [stderr] help: first cast to a pointer `as *const ()`
[INFO] [stderr]     |
[INFO] [stderr] 431 |         signal(SIGINT, INThandler as *const () as sighandler_t);
[INFO] [stderr]     |                                   ++++++++++++
[INFO] [stderr] 
[INFO] [stderr] warning: creating a mutable reference to mutable static
[INFO] [stderr]    --> programs/lorem.rs:312:14
[INFO] [stderr]     |
[INFO] [stderr] 312 |             *g_distrib.as_mut_ptr().add(fresh0) = w as core::ffi::c_int;
[INFO] [stderr]     |              ^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stderr]     |
[INFO] [stderr]     = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stderr]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stderr]     = note: `#[warn(static_mut_refs)]` (part of `#[warn(rust_2024_compatibility)]`) on by default
[INFO] [stderr] 
[INFO] [stderr] warning: `libzstd-rs-sys` (lib test) generated 56 warnings (56 duplicates)
[INFO] [stderr] warning: `libzstd-rs-sys` (bin "programs" test) generated 2 warnings (run `cargo fix --bin "programs" -p libzstd-rs-sys --tests` to apply 1 suggestion)
[INFO] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 0.18s
[INFO] [stderr]      Running unittests c2rust-lib.rs (/opt/rustwide/target/debug/deps/libzstd_rs_sys-d496a79d2d697a7e)
[INFO] [stdout] 
[INFO] [stdout] running 22 tests
[INFO] [stdout] test lib::common::bitstream::tests::test_end_mark ... ok
[INFO] [stdout] test lib::common::bitstream::tests::test_look_and_read_bits ... ok
[INFO] [stdout] test lib::common::bitstream::tests::test_new_ilog2_undefined ... ok
[INFO] [stdout] test lib::common::bitstream::tests::test_new_success ... ok
[INFO] [stdout] test lib::common::bitstream::tests::test_reload_overflow ... ok
[INFO] [stdout] test lib::common::xxhash::tests::prop_xxh64_matches ... ok
[INFO] [stdout] test lib::common::xxhash::tests::xxh64_reference ... ok
[INFO] [stdout] test lib::decompress::huf_decompress::tests::test_DEltX2_to_u32 ... ok
[INFO] [stdout] test lib::decompress::huf_decompress::tests::test_buildDEltX2 ... ok
[INFO] [stdout] test lib::decompress::huf_decompress::tests::writer_subslice ... ok
[INFO] [stdout] test lib::decompress::zstd_ddict::tests::test_estimate_ddict_size ... ok
[INFO] [stdout] test lib::decompress::zstd_decompress::tests::decompress_bound_null ... ok
[INFO] [stdout] test lib::common::xxhash::tests::xxh64_ours ... ok
[INFO] [stdout] test lib::common::xxhash::tests::prop_xxh64_state_matches ... ok
[INFO] [stdout] test lib::common::bitstream::tests::test_new_empty_buffer ... ok
[INFO] [stdout] test lib::decompress::zstd_decompress_block::test::basic_decompress ... ok
[INFO] [stdout] test lib::decompress::zstd_decompress::tests::decompression_margin_null ... ok
[INFO] [stdout] test lib::decompress::zstd_decompress::tests::decompression_margin_quickcheck ... ok
[INFO] [stdout] test lib::decompress::zstd_decompress::tests::decompress_bound_quickcheck ... ok
[INFO] [stdout] test lib::common::bitstream::tests::test_look_and_read_bits_fast ... ok
[INFO] [stdout] test lib::common::bitstream::tests::test_reload_end_of_buffer ... ok
[INFO] [stdout] test lib::common::entropy_common::tests::new_matches_old ... ok
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 22 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.03s
[INFO] [stdout] 
[INFO] [stderr]      Running unittests programs/main.rs (/opt/rustwide/target/debug/deps/programs-29eed0879a08511b)
[INFO] [stderr]    Doc-tests libzstd_rs_sys
[INFO] [stdout] 
[INFO] [stdout] running 0 tests
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] running 0 tests
[INFO] [stdout] 
[INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s
[INFO] [stdout] 
[INFO] running `Command { std: "docker" "inspect" "a5d6b2bd7bf106e310b3643757e17b29006f1d6bf2e1e058ef113b6c239e5bec", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "a5d6b2bd7bf106e310b3643757e17b29006f1d6bf2e1e058ef113b6c239e5bec", kill_on_drop: false }`
[INFO] [stdout] a5d6b2bd7bf106e310b3643757e17b29006f1d6bf2e1e058ef113b6c239e5bec
